monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] Re: Not storing hashes in hex


From: Lapo Luchini
Subject: [Monotone-devel] Re: Not storing hashes in hex
Date: Wed, 24 Jan 2007 03:15:13 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.0

Zack Weinberg wrote:
> It occurred to me that we store a lot of SHA1 hashes in our databases
> and they're all twice as big as they need to be because they're in
> hex.

Oh, I wanted to say it since day 0.
Or, well, since I discovered that Sqlite3 has no problems with binary zeros.
Or maybe I even did write about it. (I do remember messages regarding
'quote' in SQLite, of that I'm pretty sure)

Anyway: I'm all for it!

It may be a small an unimportant particular, but for me it's like a
small itch on the side of a shoe ;-)

    Lapo





reply via email to

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