This post shows that reading .leo files with @nosent nodes is much faster than reading similar .leo files containing @auto nodes.
Yes, .leo files containing @auto or @shadow are smaller than similar files containing @nosent, but that is a feeble advantage in this era of huge memories, DropBox, etc. To compare read times, I created two separate .leo files containing all the source code of pylint, a large package. Here are the statistics: ===== pylint-auto.leo, containing @auto nodes: size: 26KB Initial read, before any caching: - read 336 files in 17.76 seconds - read outline in 17.82 seconds Later, cached reads: - read 336 files in 10.75 seconds - read outline in 10.82 seconds ===== pylint-ns.leo, containing @nosent nodes size: 995KB. Typical reads: - read 335 files in 2.44 seconds - read outline in 2.83 seconds In short, @auto sucks. Similar remarks apply to @shadow, perhaps even more strongly. 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. For more options, visit https://groups.google.com/d/optout.
