monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] silly question #2: why base64?


From: Lapo Luchini
Subject: [Monotone-devel] silly question #2: why base64?
Date: Wed, 21 Sep 2005 19:26:31 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.6) Gecko/20050317 Thunderbird/1.0.2 Mnenhy/0.7.2.0 Hamster/2.0.0.1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Isn't sqlite supposed to be binary-safe?
Well, except from \0, AFAIR, but shouldn't avoiding that be way faster
and smaller than full base64?
OK, HDD is cheap, but wasting 1/3 of the space and using a system that
is designed to be binary safe seems a pity to me =)

(I see that even text data is put as base64 actualy, so I guess there is
a reason behind it, but I cannot grasp it ^_^)

PS: I wonder why the sqlite.org does contain no more a reference to the
suggested sqlite_encode_binary() it once had and I was remembering
about... I guess that's because sqlite3 doesn't need it no more and also
\0 is a valid char, though I cannot find a direct confirmation of it

- --
L a p o   L u c h i n i
l a p o @ l a p o . i t
w w w . l a p o . i t /
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iEYEARECAAYFAkMxl8cACgkQaJiCLMjyUvs3KwCdFcwtWkmAoKychMLfjE3C3EqA
YBwAn3dNY4mk+Bl9iTAnKNYNUFUfjZyT
=nS8h
-----END PGP SIGNATURE-----





reply via email to

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