[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] serialization format

From: Markus Wanner
Subject: Re: [Monotone-devel] serialization format
Date: Wed, 6 Apr 2016 07:41:03 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0

On 04/06/2016 05:44 AM, J Decker wrote:
> encode into utf8 codepoints maybe?  which would expand 0x80-0xFF by 1
> character each... and you could violate utf rules and encode a F880
> that's a 0 codepoint...

You mean for hashes? Hm.. that's an interesting idea, which might get us
a whole new encoding. However, I don't quite think we can use Unicode
there, but should really stick to ASCII.

Even base64 is a bad idea, because it contains '/' and '+' chars, which
are usually treated as separators. But you don't want revision ids to

With these restrictions, base58 is about as space efficient as you can get.

Kind Regards

Markus Wanner

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]