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

MetaClassImpl uses findPropertyInClassHierarchy inefficiently

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.0.0-alpha-1, 3.0.5, 2.5.13
    • None
    • None

    Description

      MetaClassImpl#findPropertyInClassHierarchy checks super type(s) of passed cached class. Callers are looping over super classes, which results in redundant checking.

      Attachments

        Activity

          People

            emilles Eric Milles
            emilles Eric Milles
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h