mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-15 15:26:19 -04:00
Switch to folly::small_vector as p99 match count is 1.
This commit is contained in:
parent
89f4a24fec
commit
01cd62d2fc
@ -663,8 +663,7 @@ void segmenter_<LoggerPolicy, GranularityPolicy>::segment_and_add_data(
|
|||||||
hasher.update(p[offset]);
|
hasher.update(p[offset]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: try folly::small_vector?
|
folly::small_vector<segment_match<GranularityPolicy>, 1> matches;
|
||||||
std::vector<segment_match<GranularityPolicy>> matches;
|
|
||||||
const bool single_block_mode = cfg_.max_active_blocks == 1;
|
const bool single_block_mode = cfg_.max_active_blocks == 1;
|
||||||
|
|
||||||
auto total_bytes_read_before = prog_.total_bytes_read.load();
|
auto total_bytes_read_before = prog_.total_bytes_read.load();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user