by gkfasdfasdf · 4y ago · 0 comments
That's exactly what chunking based on a rolling hash solves. You set the average size of chunks and the content controls the exact boundaries.
"the idea is to select blocks not based on a specific offset but rather by some property of the block contents"
https://en.wikipedia.org/wiki/Rabin_fingerprint#Applications