[Kst] kdeextragear-2/kst/kst
George Staikos
staikos at kde.org
Wed Feb 2 00:32:10 CET 2005
CVS commit by staikos:
better put these comments in before I forget
M +4 -0 kstrvector.cpp 1.76
--- kdeextragear-2/kst/kst/kstrvector.cpp #1.75:1.76
@@ -528,4 +528,8 @@ KstObject::UpdateType KstRVector::doUpda
/** read each sample from the File */
//kdDebug() << "NF = " << NF << " numsamples = " << _numSamples << " new_f0 = " << new_f0 << endl;
+ // FIXME: tighten this loop. Split out DoAve and non-DoAve cases, and
+ // precalculate new_nf to be small enough so that we don't have to
+ // constantly check (new_nf - i) >= Skip
+ // Also eliminate j?
for (i = NF, j = 0; i < new_nf && (new_nf - i) >= Skip; i += Skip, j++) {
if (DoAve) {
More information about the Kst
mailing list