forked from scylladb/scylladb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge ' sstables: consumer: reuse the fragmented_temporary_buffer in …
…read_bytes()' from Michał Chojnowski primitive_consumer::read_bytes() destroys and creates a vector for every value it reads. This happens for every cell. We can save a bit of work by reusing the vector. Closes scylladb#10512 * github.com:scylladb/scylla: sstables: consumer: reuse the fragmented_temporary_buffer in read_bytes() utils: fragmented_temporary_buffer: add release()
- Loading branch information
Showing
2 changed files
with
7 additions
and
2 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