On Tue, Nov 4, 2008 at 6:07 PM, Terry Brown <[EMAIL PROTECTED]> wrote:

>> > Not needed, since the collisions are practically impossible.
>> > Distributed version control systems are built on this assumption.
>>
>> I didn't know that!
>
> Some systems prepend YYYYMMDDHHSS for extra robustness...

Yeah, but leo probably shouldn't do that (a 'touch'ed file is still
the same file, even if it has a new timestamp).

If we want to optimize even more at some point, we could generate the
hash from just abspath, timestamp and size (the stat() info) - it will
cover the most typical cases. However, let's see how full-body hashing
performs first...

-- 
Ville M. Vainio
http://tinyurl.com/vainio

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to