|
From: John H. <jd...@gm...> - 2009-08-19 21:09:34
|
On Wed, Aug 19, 2009 at 3:25 PM, Christophe Dupre<chr...@vh...> 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 |