Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix: reduce enum array allocation in QueryLogger (#12478)
Motivation: reduce enum array allocation in QueryLogger Modifications: cache QueryLogEntry.values() in a static variable Result: Java enum .values() method is invoked exactly once Additional context: https://www.gamlor.info/wordpress/2017/08/javas-enum-values-hidden-allocations/
- Loading branch information