DenVdmj / xdelta

Automatically exported from code.google.com/p/xdelta (actual: https://github.com/jmacd/xdelta-devel/)
0 stars 0 forks source link

Suitable interface for softpatch of large files? #170

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'd like to soft patch large files. But i don't want to put in the whole input 
and output either in memory or as a tmp file, since it's gigabyte sized.

So i ended up with the idea of 'linearizing' a patch set, into a stream 
delegation, redirecting read() with a binary search of {index, length, byte *} 
for figuring out to which layer the read belongs + memorization of the last 
patch block to handle sequential reads.

My 'problem' is that there appears to be no xdelta decoding interface for this 
'linearizion' process, just outputs for complete streams. 

Original issue reported on code.google.com by i30817@gmail.com on 29 Oct 2013 at 3:49