So, I finally put my money where my mouth is and started implementing the content hash based speedup scheme.
Try it out at bzr branch lp:~villemvainio/leo-editor/hashcache Some notes: So far, it doesn't speedup nodes with clones - so LeoPyRef.leo is not going to be faster, but LeoPluginsRef.leo is. It's not like supporting clones is unfeasible, I just didn't want to mess around with it yet to keep things simple. My totally unscientific stopwatch timing showed: - Without cache (old version): 20.49 s - With cache: 12.55s I admit it had another performance fix as well (cleanSaxInputString used slow method). It's also not as such completely optimized yet, but profiler stats look good. Definitely all the "new" functionality is taking negligible time, eliminating the biggest old bottlenecks completely. I had to disable redraw_after_icons_changed because it was run constantly on setBodyString. @auto is not supported yet either, but it's probably trivial to add. -- 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 -~----------~----~----~----~------~----~------~--~---
