On Wed, Aug 19, 2009 at 3:25 PM, Christophe
Dupre<christophe.du...@vhayu.com> wrote:
> I just saw the email below from John, and I was wondering why using compound
> paths are "goo-gobs" faster than using rectangles(patches)?
>
> I've been using the candlestick function quite a bit lately. I guess using
> compound paths could make the candlestick function faster. I'll give it a
> try.
>

I haven't profiled it, so the go-gobs was a bit speculative, but each
Rectangle is a separate object with a separate graphics context and a
separate draw step.  By moving all this into a single object, the
compound path, you get a lot of savings.

JDH

------------------------------------------------------------------------------
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-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to