Daniel Teske teske at squorn.de
Sun Jul 3 04:20:00 BST 2005

> I could optimize it, to make less changes to the visibility.
So here it is, the optimal patch...

It does a maximum of n itemMatches call. (In some cases less than n).
It does the minimum number of setVisible calls. (I think.)
It has O(n) runtime.
I think it's correct.

And it's completly unreadable. 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: klistviewsearchlineZWEI.patch
Type: text/x-diff
Size: 4732 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050703/8618f5c5/attachment.patch>

More information about the kde-core-devel mailing list