zabetak opened a new pull request #1090: [CALCITE-2897] Reduce expensive calls to Class#getSimpleName URL: https://github.com/apache/calcite/pull/1090 1. Replace rule.getClass().getSimpleName() with rule.toString(): (i) It conforms to the API VolcanoPlannerPhaseRuleMappingInitializer; (ii) It is safer to use when the same rule class has many instances; (iii) It is much more efficient. 2. Precompute the class name for Boxed primitives and use where necessary. 3. Remove Types#boxClassName since it is slightly redundant.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
