You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniel Sun (Jira)" <ji...@apache.org> on 2019/10/11 00:06:00 UTC
[jira] [Created] (GROOVY-9276) Improve the performance of parsing
Daniel Sun created GROOVY-9276:
----------------------------------
Summary: Improve the performance of parsing
Key: GROOVY-9276
URL: https://issues.apache.org/jira/browse/GROOVY-9276
Project: Groovy
Issue Type: Improvement
Components: parser-antlr4
Reporter: Daniel Sun
Assignee: Daniel Sun
Fix For: 3.0.0-rc-1
When semantic predicate fails, {{FailedPredicateException}} will be thrown to change the control flow. But as we all know, filling the stack trace is expensive especially when FailedPredicateException is thrown frequently. So eliminating the stack trace can improve the performance of parsing to some extent.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)