It's easy to get bogged down in minutia, trying to save a millisecond here or there.
Instead, the way to improve performance is to use compiled C code, via the Python standard library. The fast-read branch illustrates this principle: - The code that reads .leo files uses xml.etree.ElementTree. - The code that reads external files uses compiled regex patterns. Shortcutting a long string of tests was a great trick, but using C code is even more important. 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 https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
