[Kst] [Bug 130195] Datasources should enforce field uniquity

Nicolas Brisset nicolas.brisset at eurocopter.com
Wed May 9 10:03:31 CEST 2007


------- 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=130195         




------- Additional Comments From nicolas.brisset eurocopter com  2007-05-09 10:03 -------
Right, this never really got fixed... I think it's sane to do something about it, I'm just a bit worried about the performance penalty here. 
All these calls to rc.find() might turn out to become a problem when there are many variables in the file. I have colleagues who routinely use data files with 10 000 variables ! I haven't had a chance to test this yet, but isn't there a quicker way ? QStringList sorting being O(n*log n), maybe sorting a copy of the list, then looking only at consecutive entries in the sorted list would be faster overall ? Note that I don't know how fast/slow find() is, though...


More information about the Kst mailing list