diff options
| author | Dan Engelbrecht <[email protected]> | 2025-11-06 10:06:53 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-11-06 10:06:53 +0100 |
| commit | d7cdc41b15262efacfe7c24bbbb0b9148773d967 (patch) | |
| tree | cedda8255da6f9274ea003fb1fec7d49a76081a2 /src | |
| parent | compress partial file chunks in blocks if appropriate (#632) (diff) | |
| download | zen-d7cdc41b15262efacfe7c24bbbb0b9148773d967.tar.xz zen-d7cdc41b15262efacfe7c24bbbb0b9148773d967.zip | |
merge 5.7.8 minimal release (#635)
merge back all the cherry-picks
Diffstat (limited to 'src')
| -rw-r--r-- | src/zenremotestore/chunking/chunkedcontent.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zenremotestore/chunking/chunkedcontent.cpp b/src/zenremotestore/chunking/chunkedcontent.cpp index 5e6cb9ba5..af1f06cec 100644 --- a/src/zenremotestore/chunking/chunkedcontent.cpp +++ b/src/zenremotestore/chunking/chunkedcontent.cpp @@ -717,6 +717,8 @@ DeletePathsFromChunkedContent(const ChunkedFolderContent& BaseContent, Result.ChunkedContent.ChunkRawSizes.reserve(BaseChunkCount); tsl::robin_map<IoHash, uint32_t, IoHash::Hasher> RawHashToSequenceRawHashIndex; + RawHashToSequenceRawHashIndex.reserve(ExpectedPathCount); + Result.ChunkedContent.SequenceRawHashes.reserve(ExpectedPathCount); for (uint32_t PathIndex = 0; PathIndex < BaseContent.Paths.size(); PathIndex++) { const std::filesystem::path& Path = BaseContent.Paths[PathIndex]; |