[KPhotoAlbum] Use PCRE for Image Search

Andreas Neustifter andreas.neustifter at gmail.com
Tue Dec 15 21:45:55 GMT 2015


Hi,

when using an actual regular expressions in the label in the image search
the search is painfully slow since QRegExp is crap. (It works fine for
everyday use but when combing through 55k filenames its just too slow.)

This patch introduces the ability to use PCRE when available on a system
for that use case.
https://github.com/astifter/kphotoalbum-astifter-branch/commit/c5c432c37b584306718493c59045ae9ee43f38d5

(Again thanks to Google PerfTools for helping me find out what is so slow
in about 3 minutes.)

Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kphotoalbum/attachments/20151215/0f026b18/attachment.htm>


More information about the Kphotoalbum mailing list