[darcs-users] Clever idea for storing binaries, comments?

Taral taral at taral.net
Wed Oct 20 23:20:57 UTC 2004


On Wed, Oct 20, 2004 at 05:32:38PM -0400, Michael Conrad wrote:
> I'm not sure if this has been thought of by someone else (what idea
>  hasn't?) but I was just thinking it would be cool if the binaries
> were able  to take advantage of diffing to save space.  This is a
> naturally difficult problem, but what if we had a system
> where you add a line break to the hex dump whenever you run into
> a 0-byte?  That would give length-512 text lines (in hex) on
> average, so maybe we'd want to beak after any byte matching 0x1F
> (length-64 text lines) or something.

Or we could use a binary diff algorithm like bsdiff.

-- 
Taral <taral at taral.net>
This message is digitally signed. Please PGP encrypt mail to me.
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20041020/13ea009b/attachment.pgp 


More information about the darcs-users mailing list