Files
scylladb/utils
Benny Halevy f7b8b809d0 sstables: parse chunked_vector<std::integral Members>: maximize chunk size
Currently this parse function reads only 100KB worth
of members in eac hiteration.

Since the default max_chunk_capacity is 128KB,
100KB underutilize the chunk capacity, and it could
be safely increased to the max to reduce the number of
allocations and corresponding calls to read_exactly
for large arrays.

Expose utils::chunked_vector::max_chunk_capacity
so that the caler wouldn't have to guess this number
and use it in parse().

Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
Message-Id: <20211222103126.1819289-2-bhalevy@scylladb.com>
2021-12-22 15:47:37 +02:00
..
2021-07-02 19:02:14 +02:00
2021-10-05 12:57:54 +02:00
2021-07-02 19:02:13 +02:00
2021-08-01 19:34:13 +03:00
2021-07-02 10:25:58 +02:00
2021-06-16 17:47:10 +03:00