[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Tue Jul 15 22:37:49 CEST 2003
On Tuesday 15 July 2003 16:49, Barth Netterfield wrote:
> egads! multiple QDict lookups in the most inner loop of all of kst!
>
> plotting a single 100000 point realtime curve uses 85% of the CPU.
> Non Ideal (tm)
>
> My preference: use local double variables for the computation, and set the
> values using QDict (as you have it) after the loop. This is the fastest we
> can do, and still stays ~elligant.
>
> I am going to do this unless you object.
Ah you're right. It was a bad idea. I noticed a slow down too, but I
hadn't got around to seeing what it was. I agree with using local doubles in
the loop. I had thought about that too.
Go ahead and do that while I clean up the plot dialog, if you like.
--
George Staikos
KDE Developer http://www.kde.org/
Staikos Computing Services Inc. http://www.staikos.net/
More information about the Kst
mailing list