MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / small

Method small

atomic-core/src/change/format_v3/chunking.rs:143–149  ·  view source on GitHub ↗

Options tuned for small content (< 1 MB). Uses smaller chunk sizes to ensure at least a few chunks are produced, improving dedup effectiveness for small files.

()

Source from the content-addressed store, hash-verified

141 /// Uses smaller chunk sizes to ensure at least a few chunks are produced,
142 /// improving dedup effectiveness for small files.
143 pub fn small() -> Self {
144 Self {
145 min_size: 4 * 1024,
146 avg_size: 16 * 1024,
147 max_size: 64 * 1024,
148 }
149 }
150
151 /// Options tuned for large content (> 10 MB).
152 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected