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

Reduce expensive calls to Class#getSimpleName

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.18.0
    • Fix Version/s: 1.19.0
    • Component/s: 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

              • Assignee:
                zabetak Stamatis Zampetakis
                Reporter:
                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