> g.toUnicodeFileEncoding was called 2504395 times during the exection of my > script?! os.path.normpath was called 1128328 times. >
Wow, that's just crazy. A consequences of our computers being *so* much faster than antecedants, like say the Apollo11 lander. We don't feel the impact of those millions of extra checks without looking for them. > Once again it turned out that the first step in any optimization effort > must be profiling the code. > Thanks. You've renewed my aspiration to learn how to profile. ;-) > I would never guess that the full_redraw used to make so many calls in to > the path handling and file system functions. > I have a program at work that on startup looks at every file in every folder in PATH to see if it matches "filenamexx.dll". Drives me nuts that I can't do anything about it. ...icons folder, checking every time for the existence of file icons. > One of my back-of-brain ideas is to move all of the icons into a single font or svg library file per theme and then use them by name or index number. I think it would impove performance, but the initial driver is just to remove the thousands "adding file ..." and "copying file ..." messages when installing! -matt -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/0b834aa4-821e-4c4f-8780-c848a090f644%40googlegroups.com.
