speeding up KFind
Andras Mantia
amantia at freemail.hu
Mon May 26 03:12:00 BST 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday 25 May 2003 23:07, Maks Orlovich wrote:
> 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?
Yes, I think the X-KDE-Text should be used. Otherwise you will miss some pure
text documents, which are not under text/*.
Andras
- --
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+0XfwTQdfac6L/08RAoxwAJ0cryL4206v5PlINPbuj/q8ZnXo3ACgqkdx
UFfsNddJB0RiN91jm9w5wpU=
=INpr
-----END PGP SIGNATURE-----
More information about the kde-core-devel
mailing list