On Wed, Apr 9, 2008 at 4:45 PM, thyrsus <[EMAIL PROTECTED]> wrote: > > The regex stuff is only in the non-SAX code if I remember correctly; > feel free to discard it along with the rest of the non-SAX code. It > gave me perhaps an 8 second speedup on my 120000+ <v></v> pair .leo > file over the old non-SAX code, and was just a couple seconds faster > than SAX code.
Thanks. I missed this itty-bitty detail :-) I may get rid of the code, or not, depending on where I want to make the "real" file-code changes... > How much memory do you have? 4 gig. > I rely on the python internals to > rapidly reclaim the dictionaries I create, but perhaps there should be > a line of code explicitly discarding the dictionary just before > raising the iteration ended exception. I'll test that. > > There may be some unrecovered overhead cost when you don't have the > deeply cloned environment that I do. I see. Imo, the difference between 130 sec and 136 is not terribly significant. I just didn't want to give up speed needlessly. If your code is clearly better in some situations I can live with that, no problem. > Try creating this 111110 position outline and run some tests on that. Oh my. I'll take your word for it :-) To summarize, I would appreciate as many people testing the ekr-devel branch as we can. Please do *not* merge this into the trunk just yet. Edward --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to leo-editor@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---