-
Notifications
You must be signed in to change notification settings - Fork 407
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preallocate serialized vector of HashPrefixRow (#909)
This should save 2 reallocation for row since serialize will allocate without capacity (should be 4) and every time will double, so it will need other 2 re-allocation for a total of 3. While here is 1. Do the same for HeaderRow. Co-authored-by: Riccardo Casatta <[email protected]>
- Loading branch information
Showing
1 changed file
with
18 additions
and
3 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