[Bug 72831] File Groups performance bad in some cases

Jens Dagerbo jens.dagerbo at swipnet.se
Sat Jan 17 18:39:02 UTC 2004


------- 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=72831      
jens.dagerbo at swipnet.se changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Rule not taken in account in|File Groups performance bad
                   |the File Groups             |in some cases



------- Additional Comments From jens.dagerbo at swipnet.se  2004-01-17 18:38 -------
I tried using the quanta source.

#1 - Yes, it's slow. 22 sec to turn on "non-project files", 8 sec to turn it off on my box. (with debug area 9017 off) 

Interestingly, on the KDevelop source (which is larger and where I tested) I get 2 and 3 sec respectively. I have less filegroups defined here, but still.. I'll have to look into this.

#2 - This is very non-obvious but.. the matching is actually done against the whole path of the file, not just against the filename. (I personally think this is unintuitive and fairly useless.) You get the group you want by setting the pattern to '*description.rc'.


The whole filegroups widget is nasty, and I'm hoping to create a better one for KDevelop-3.1, if time permits. 

As #2 is technically not a bug, I'm renaming this bug to highlight #1.




More information about the KDevelop-devel mailing list