forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove allocations from TimeBasedUUIDGenerator (elastic#104584)
No need to use a capturing lambda here, als no need to re-create the base64-no-padding encoder over and over. Empirically, saves about 0.5% of all allocations in the http_logs indexing step interestingly enough (according to async profiler).
- Loading branch information
1 parent
bde42f3
commit 72c1e6c
Showing
1 changed file
with
12 additions
and
16 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