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

Strange performance issue for code wrapped in while() statement

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4.4
    • None
    • None
    • None
    • Groovy Script Engine in a Java app on Windows

    Description

      See bug Groovy-8019

      A similar issue exists for a while() statement.
      However, it doesn't seem as dependent on the while condition code. Just the fact that the for loops are wrapped in a while() statement adversely affects the performance of the for loops.

      A brief look at the code changed for 8019 (not that I fully understand it) makes me think there may be other cases that should be reviewed for a similar issue.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cwhite102 Craig White
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: