article: Using a rolling hash to break up binary files

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

article: Using a rolling hash to break up binary files

From: Philip Oakley <hidden>
Date: 2016-06-15 23:02:06

I thought it worth bring to the list's attention a  recent article on 
CodeProject that may be of interest to those looking at splitting binary 
files into deterministic hunks.

http://www.codeproject.com/Articles/801608/Using-a-rolling-hash-to-break-up-binary-files

It's based on Rabin and Karp's algorithm 
http://en.wikipedia.org/wiki/Rabin%E2%80%93Karp_algorithm.

--
Philip 

Re: article: Using a rolling hash to break up binary files

From: Shawn Pearce <hidden>
Date: 2016-06-15 23:02:06

On Thu, Jul 31, 2014 at 3:31 PM, Philip Oakley [off-list ref] wrote:
I thought it worth bring to the list's attention a  recent article on
CodeProject that may be of interest to those looking at splitting binary
files into deterministic hunks.

http://www.codeproject.com/Articles/801608/Using-a-rolling-hash-to-break-up-binary-files

It's based on Rabin and Karp's algorithm
http://en.wikipedia.org/wiki/Rabin%E2%80%93Karp_algorithm.
If I remember right, this is how bup[1] works. Its certainly what we
do for delta compressing files.

[1] https://github.com/bup/bup
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help