[kio] src/widgets: Reimplement sibling(), faster than the default impl which goes via parent()
David Faure
faure at kde.org
Sun May 4 13:27:22 UTC 2014
On Sunday 04 May 2014 15:14:59 Mark Gaiser wrote:
> How did you figure out that re-implementing this function is more
> efficient then the parent function?
By looking at the O(n) comment in my parent() implementation ;-)
> Also, just curious. Do you have any before/after numbers?
No. That's your job, isn't it? :-)
--
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5
More information about the Kde-frameworks-devel
mailing list