Can we please switch the svndiff integer encoding?
From: Daniel Berlin <dan_at_dberlin.org>
Date: 2002-02-09 21:27:31 CET
Currently, it's almost LEB128 (Little Endian Base 128).
It's quite standardized, and quite popular.
Right now we have:
encode_int (char *p, apr_off_t val)
assert (val >= 0);
/* Figure out how many bytes we'll need. */
/* Encode the remaining bytes; n is always the number of bytes
return p;
LEB128 would be:
static inline char *
*p++ = byte;
return p;
As you can see, the only real difference is the continuation marker.
I think it makes more sense to use something that is widely used, so we
Just a thought,
---------------------------------------------------------------------
|
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.