Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2897

Reduce expensive calls to Class#getSimpleName

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.18.0
    • 1.19.0
    • core

    Description

      Class#getSimpleName method performs string manipulation operations, among other things, which has a noticable impact on performance when called repeatedly. In various cases the calls to this method can be avoided easily by using precomputed fields.

      One place where this method really affects performance is inĀ RuleQueue#addMatch.

      Attachments

        Issue Links

          Activity

            People

              zabetak Stamatis Zampetakis
              zabetak Stamatis Zampetakis
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 20m
                  20m