[Kde-pim] Review Request: Improve search peformance

Tobias Koenig tokoe at kde.org
Wed May 20 18:39:58 BST 2009


On Wed, May 20, 2009 at 11:07:27AM -0000, Kevin Krammer wrote:
Hej Kevin,

> The elseif string comparison chain is quite obviously the main factor of that,
> so this patch replaces it with a QHash lookup which maps the label to an appropriate
> function pointer for getting the field's values.
Looks much better now. Does marking all the static 'addressXYZValues()' methods inline
bring any further performance improvements?

Please commit

Ciao,
Tobias
-- 
Separate politics from religion and economy!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20090520/029614f9/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list