Comments (2)
This is known / expected behavior. After a sequence of (I think) 64 zero bytes, the rolling hash is zero. This is one of the reasons why there's also a minimum chunk size of 512kB.
from chunker.
hi @MichaelEischer thanks for confirming, makes sense and the chunk boundary is the same with the same pol... this is really cool, though the math feels like magic to me at the moment ;) nice work
from chunker.
Related Issues (15)
- non-optimal memory layout for chunkerConfig struct HOT 1
- release HOT 2
- Configurable averageBits HOT 3
- chunker.Next with no allocations HOT 10
- Possible updates with the use of non-Rabin algorithms HOT 5
- Separate the rolling hash function from the chunker HOT 7
- chunker.Next: read gives input/output error HOT 3
- Should I use chunker in production? HOT 2
- Let the chunker return the content of the chunks HOT 2
- MulPoly function bug
- Chunk size distribution problem. HOT 7
- Add CI tests for go1.5
- Chunker on data containing series of zeroes HOT 3
- Inserting 1 at the beginning of the hashed data HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chunker.