On Monday, June 19, 2017 at 8:03:23 AM UTC-5, Edward K. Ream wrote:
>
> Rev c884848 of the tree-gen branch attempts a fix for #502 
> <https://github.com/leo-editor/leo-editor/issues/502>. I expect a 
> spectacular performance boost.  Please test and report your experience.
>
> The changes depend on maintaining the c.frame.tree.generation count, 
> updated by low-level vnode methods whenever the tree changes. I am not 
> seeing some expected traces during unit tests, so perhaps the performance 
> is a bit *too* good...
>

Tracing reveals that unit tests use a null gui rather than the npyscreen 
gui.  This is expected, but still hard to understand completely. This is 
another manifestation of the complications behind #503 
<http://github.com/leo-editor/leo-editor/issues/503>: use string/null gui 
for unit tests. For now, I'm *guessing* that the missing calls to 
LeoValues.refresh_cache merely mean that the npyscreen gui code is 
completely inactive during the unit tests.

Edward

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