[
https://issues.apache.org/jira/browse/METRON-712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15897408#comment-15897408
]
ASF GitHub Bot commented on METRON-712:
---------------------------------------
Github user cestella commented on the issue:
https://github.com/apache/incubator-metron/pull/473
TODO: I still have yet to add some documentation around the
microbenchmarking suite.
TODO: Run this up in vagrant. I can't do so now as I am on hotel wifi, so
it'll be this Thursday before I get a chance.
> Separate evaluation from parsing in Stellar
> -------------------------------------------
>
> Key: METRON-712
> URL: https://issues.apache.org/jira/browse/METRON-712
> Project: Metron
> Issue Type: Improvement
> Reporter: Casey Stella
>
> With the current implementation of Stellar, we cannot cache the parse tree
> and then apply it after the fact. It's just an artifact of how we do the
> parsing: we actually execute the statement as we parse rather than
> constructing an AST that can then be evaluated later given a message.
> Essentially what I'm proposing is that we build the equivalent of
> Pattern.compile() in Java except for Stellar.
> We should for multiple reasons:
> * code clarity - decoupling the stellar language from the generated parser
> code
> * performance - saving lexing and parsing for every message
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)