[RQt-devel] Timings
Michael Lawrence
lawrence.michael at gene.com
Wed Mar 24 01:06:33 CET 2010
It looks to me like the lines (10k, 3 segments each) are slower than the 30k
segments. The reason is that the Qt API forces each line to be drawn
separately, while segments can be drawn in batch. We use Qt for all line
drawing.
The only reason to use lines is if the line width is > 0, and thus line
joining matters. That suggests one possible optimization, purely at the R
level.
Michael
On Tue, Mar 23, 2010 at 7:18 AM, Hadley Wickham <hadley at rice.edu> wrote:
> >> * what is up with antialiased segments?!
> >>
> > Might need to be more specific? Software is very slow when drawing
> > antialiased segments.
>
> I just meant they are incredibly slow - why is there such a different
> between segments and lines?
>
> Hadley
>
> --
> Assistant Professor / Dobelman Family Junior Chair
> Department of Statistics / Rice University
> http://had.co.nz/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.r-forge.r-project.org/pipermail/qtinterfaces-devel/attachments/20100323/c95478d6/attachment-0001.htm
More information about the Qtinterfaces-devel
mailing list