Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-8910

Improve the performance of the new Parrot parser

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-alpha-4
    • Component/s: None
    • Labels:
      None

      Description

      statementExpression rule is very inefficient, we should merge expression into commandExpression to reduce looking ahead.

      The attached file cost 5.7s on parsing before tuning but cost only 2.5s after tuning.

        Attachments

          Activity

            People

            • Assignee:
              daniel_sun Daniel Sun
              Reporter:
              daniel_sun Daniel Sun
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: