[Kst] extragear/graphics/kst/kst
George Staikos
staikos at kde.org
Wed Oct 26 04:34:08 CEST 2005
SVN commit 474318 by staikos:
a huge speedup. We were calling update on the slave vector every update
cycle, and we really didn't need to.
As a side note, KstVector::update() is just way too expensive.
M +3 -1 kstequation.cpp
--- trunk/extragear/graphics/kst/kst/kstequation.cpp #474317:474318
@@ -214,7 +214,9 @@
rc = UPDATE;
}
v = *_yVector;
- v->setDirty();
+ if (rc == UPDATE) {
+ v->setDirty();
+ }
v->update(update_counter);
return setLastUpdateResult(rc);
More information about the Kst
mailing list