speeding up KFind

Maks Orlovich mo002j at mail.rochester.edu
Sun May 25 21:07:09 BST 2003

On Monday 26 May 2003 04:06 pm, 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.
> Is that change okay or will some important files be missed this way?

Beware application/x-python, x-perl, x-ruby, etc., and similar mimetypes.
Perhaps it can use the new "is it text" functionality that was added recently? 

More information about the kde-core-devel mailing list