-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fixes a couple of smaller inefficiencies that I found in profiling and otherwise. Iteration over the parsers is faster if we just use an array. Make some of the object construction more efficient since formats aren't always constants, like in e.g. the index name resolver. Fix non-static initializer block running useless puts into the static mutable map on every instantiation no need to even have the map, just inline what it does and save some code, indirection and the iteration over the mutable map backports #84922
- Loading branch information
Showing
2 changed files
with
80 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters