Commit 0e98b2073 contains new backend for leoCache.Cacher. New code is 
disabled by default by `SQLITE=False` switch in leo/core/leoCache.py 

To try it set `SQLITE=True`. On next launch Leo will have to read and parse 
all external files, like it does after cleaning cache. But following 
launches should be as fast as they used to be with old backend cache. On my 
machine, new sqlite cacher is a bit faster.

On first run (with empty cache), opening LeoPyRef.leo:

read 150 files in 3.15 seconds

read outline in 3.37 seconds

Second run:

read 150 files in 0.53 seconds

read outline in 0.75 seconds

And with old PickleSareDB backend:

read 150 files in 0.71 seconds
read outline in 0.93 seconds

As you can see new code is a bit faster.

All unit tests pass both with switch on and off.
Vitalije

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to