Re: [matplotlib-devel] Patch for matplotlib.__init__ for speedup

2010-09-20 Thread Ryan May
On Mon, Sep 20, 2010 at 6:04 PM, Dieter Weber wrote: > Hi, > I'm currently working on speeding up the legend rendering of matplotlib > as this turns out to be a bottleneck for my application. With some > tracing and profiling, I found that > matplotlib.__init__.RcParams.__getitem__() makes up arou

[matplotlib-devel] Patch for matplotlib.__init__ for speedup

2010-09-20 Thread Dieter Weber
Hi, I'm currently working on speeding up the legend rendering of matplotlib as this turns out to be a bottleneck for my application. With some tracing and profiling, I found that matplotlib.__init__.RcParams.__getitem__() makes up around 10% of the total function calls (by number) in my little test