speeding up KFind

Cristian Tibirna tibirna at kde.org
Sun May 25 22:12:53 BST 2003


On Monday, 26 May 2003 16:06, Daniel Naber wrote:
> Hi,
>
> KFind can be very slow if ones searches for file content because it
> searches any file, even large binary files that usually don't even contain
> text. As a fix I suggest to ignore all files that have a mime type unlike
> "text/*". Of course there are exceptions like KOffice and OpenOffice.org
> files (these are the only exceptions currently). Searches that don't use
> the "contains text" field won't be affected.

Why not run strings(1) on binary files?


-- 
Cristian Tibirna
KDE developer .. tibirna at kde.org .. http://www.kde.org




More information about the kde-core-devel mailing list