[Kst] [Bug 129168] KstPSDGenerator and KstPSD contain duplicate code.

Duncan Hanson duncan.hanson at gmail.com
Mon Jun 19 19:48:04 CEST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=129168         
duncan.hanson gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|kst kde org                 |duncan.hanson gmail com
             Status|NEW                         |ASSIGNED



------- Additional Comments From duncan.hanson gmail com  2006-06-19 19:48 -------
Hi George,

Ok then- how about I make a utility class called KstPSDCalculator which will be able to calculate a PSD for an array of doubles, and adapt both KstPSD and KstCSD to use it. Then we can remove KstPSDGenerator. There should be a performance increase in this case, because we'll also be getting rid of the QValueVectors.

In the meantime, can you please explain the 'object model' which is broken? To my ear, a CSD is nothing but a collection of PSDs, and so it makes perfect sense to have a CSD using them.


More information about the Kst mailing list