[PATCH] speedup in KMimeTypeFactory?
mattr at kde.org
Sun Oct 19 04:37:57 BST 2008
The attached patch makes some changes to the matchFileName function in
kmimetypefactory.cpp which gets called a lot, especially when browsing files
in the file manager when trying to open a file.
Depending on how you read the callgrind output, it's either a 5% (incl.
column) speedup or a 0.5% (self column) speedup. I can't remember which is the
more important number.
The testcase used was starting kate and browsing for a file to open and then
letting kate completely open that file.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1538 bytes
Desc: not available
More information about the kde-core-devel