John Hunter wrote: > On Thu, Aug 13, 2009 at 1:08 PM, Eric Firing<efir...@hawaii.edu> wrote: > >> Ideally, all the docstring manipulations would be done once at the time of >> installation or of compilation to .pyc, not at every mpl startup. I think >> that doing it at compilation time is impossible, given python's fundamental >> design, so that leaves the installation time alternative. I don't have any >> more specific ideas at this point, though. If it turns out that the >> decorators don't add significantly to the startup time, then the question of >> alternatives is moot. > > While this is not impossible, it would make my building of the docs > more complicated, because there I rely on the runtime "hardcopy" rc > property to format rest docstrings. I could do a special installation > for doc building if it makes everyone else in the world's mpl loads > 100x faster :-) > > JDH
I tested the startup time for r7480 before and after the patch, and the difference is quite small--of the order of a percent--so I have no objection to the patch on that account. Or, for that matter, on any other account. I would not object to applying it (or a modification, if there is still fine-tuning to be done) to the trunk. It seems to work fine. John, I assume you have tested doc building with the patch in place. I have not. Eric ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel