On Tue, 2004-06-29 at 17:05, Chris Barker wrote:
Tim Hochberg wrote:
Todd Miller wrote:
Me too. Can you (or somebody) post the application code which does the drawlines? I can definitely instrument the bottleneck C-code, but I don't have time to ascend the wxPython learning curve.
Let me second that. With a little nudge from Chris Barker, I managed to get wxPython to compile here and I have some changes that may speed up drawlines, but it'd probably be best if we were all using the same benchmark.
Well, if I can't code, at least I can nudge!
Perhaps I can also help get Todd what he's asking for, except that I'm not sure what you mean by "application code". Do you mean a small wxPython application that uses DC.DrawLines (and friends)?
Yes. What I most want to do is a 50000 point drawlines, similar to what you profiled. Friends are fine too.
If so, yes, I can do that. What version of wxPython should I target? CVS head? 2.5.1? (The latest "released" version)
I'd prefer 2.5.1 unless Tim says otherwise.
there are some slight incompatibilities between versions, particularly with DC calls, unfortunately.
I'm hoping this won't affect the profile.
Regards, Todd