On Tue, 10 Dec 2013 14:52:25 -0800 (PST)
SegundoBob <[email protected]> wrote:

> 
> 
> On Sunday, December 8, 2013 4:00:27 AM UTC-8, Edward K. Ream wrote:
> >
> >
> >   I suspect caching doesn't change anything, because loading an @file node 
> > from the cache should be exactly equivalent to loading the @file node from 
> > the external file.  If it isn't, it's a bad bug.
> >
> 
> What?  Suppose Leo-Editor saves X.leo and writes @file Y.py.  Then 
> Leo-Editor exits.  I use emacs to change Y.py.  Then Leo-Editor opens 
> X.leo.  In this case, the Leo-Editor cache is "stale" and loading from the 
> cache is NOT the same as loading from the @file.   So what do you mean?

I think the caching mechanism is smarter than that.  E.g. it might
compare hashes with the cache version and the current file system
version and only use the cache version if they match.  The advantage
being the cache version loads faster because it needs less parsing.
That's my understanding.

Cheers -Terry

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to