-
Notifications
You must be signed in to change notification settings - Fork 25k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use consistent map type in IndicesService (#88369)
Iteration and lookup from this map get quite hot at times for large data nodes. We shouldn't have different map types here depending on whether or not the latest operation was an index delete or create on the node. Also, the wrapped HashMap is slower to iterate than the immutable collections map.
- Loading branch information
1 parent
66e750c
commit d7b6a32
Showing
1 changed file
with
3 additions
and
6 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