-
Notifications
You must be signed in to change notification settings - Fork 919
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: simplify CloneBatch code (#3862)
Remove awkward fetch_tail case and streamline the code. Fix invalid prefetch adresses. Performance improved a little. Before: `BM_Fill/elements:32000 874677 ns 874647 ns 4774` After: `BM_Fill/elements:32000 831786 ns 831761 ns 5111` Also added a benchmark for Clear() operation. Signed-off-by: Roman Gershman <[email protected]>
- Loading branch information
Showing
3 changed files
with
56 additions
and
43 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
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