On Tue, Nov 4, 2008 at 3:46 PM, Edward K. Ream <[EMAIL PROTECTED]> wrote:

> Did you mean to say:
>
> The filecache has *files* named after md5 sums of the contents of
> *derived* files. ?

Yes. It was around 2:30 am when I wrote it, and I got out of bed to
write it down ;-)

> I understand you to mean that:
>
> - every file in the filecache corresponds to a version of a derived file
>
> - every file in the filecache contains nothing but the pickled data structure
>
> - pickling just simplifies the process of recreating the data structure.

Yes.

> Presumably, there will be a mechanism for resolving checksum collisions.

Not needed, since the collisions are practically impossible.
Distributed version control systems are built on this assumption.

> So, Leo will recreate the outline from the (unpickled) data, without
> reading any derived file?  This could be a *big* improvement in speed
> compared with the corresponding leoAtFile.py read code!

Yes, it will make the operation almost instantaneous.

-- 
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