[Kst] kdeextragear-2/kst/kst
Barth Netterfield
netterfield at astro.utoronto.ca
Tue Jul 15 22:49:36 CEST 2003
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.
cbn
On July 15, 2003 02:10 pm, George Staikos wrote:
> CVS commit by staikos:
>
>
> switch to using a QDict for scalars, and make sure they are cleaned up when
> the parent vector is done with them. Unfortunately QDict<KSharedPtr<foo> >
> doesn't seem to work too well so this may not last.
>
>
> M +2 -2 kstrvector.cpp 1.30
> M +56 -51 kstvector.cpp 1.33
> M +2 -9 kstvector.h 1.30
>
>
>
> _______________________________________________
> Kst mailing list
> Kst at kde.org
> http://mail.kde.org/mailman/listinfo/kst
More information about the Kst
mailing list