Yeah, all the slowness in Leo file handling comes from read/write of @file nodes. And reading is also quite fast because of caching.
If there is anything that needs performance improvements, it's writing out @file nodes on save. On Fri, Mar 22, 2013 at 5:47 PM, Edward K. Ream <[email protected]> wrote: > On Thu, Mar 21, 2013 at 6:18 PM, Don Dwiggins <[email protected]>wrote: > >> >> >> - I recently converted a server that used XMLRPC, to use JSONRPC. >> Some testing revealed that it improved the speed of processing large >> message by a few orders of magnitude. >> >> We might expect a large performance boost if the .leo file contains a > large amount of data. However, I seldom use Leo this way. Instead, I use > @auto or @file nodes to reference other files. LeoPy.leo is a good example. > > In such cases, the .leo file will have only a few thousand bytes. > Furthermore, it will seldom if ever change. All the changes are in the > external files, which can be diffed as usual. > > Yes, restructurings will create many diffs in the sentinel lines, but Leo > already has commands for diffing entire outlines. They are very efficient > and informative, because it's dead simple to determine which nodes have > been inserted, deleted or changed. > > Having said all this, I don't want to discourage thinking about how Leo's > representation can be improved. > > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/leo-editor?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
