[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Can we please switch the svndiff integer encoding?

From: Daniel Berlin <dan_at_dberlin.org>
Date: 2002-02-09 21:58:37 CET

On 9 Feb 2002, Greg Hudson wrote:

> On Sat, 2002-02-09 at 15:27, Daniel Berlin wrote:
> > Currently, it's almost LEB128 (Little Endian Base 128).
> > It's not quite, because it uses a different bit for continuation.
>
> Based on the code you quoted, it seems to be the same bit (the high
> bit), but our format is big-endian instead of little-endian.
Yup.

>
> I don't particularly object to changing (I think our format was borrowed
> from vcdiff), apart from the flag-day concerns.
It is from vcdiff.
God knows why they chose beb128, when leb128 is in use everywhere.

Hell, even random things like mpatrol use it in memory trace log files.

It's just a thought, if it's going to be a pain in the ass to do it, then
we shouldn't.

I'll email Korn and Vo and suggest they move to leb128.

--Dan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:06 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.