speeding up KFind

Andras Mantia amantia at freemail.hu
Mon May 26 21:28:12 BST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 26 May 2003 10:18, Stephan Kulow wrote:
> On Monday 26 May 2003 04:12, Andras Mantia wrote:
> > 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/*.
>
> I would like to have this replaced by a X-KDE-IsAlso hierarchy. This
> X-KDE-Text should be removed for a general solution ;(

Yes, a general solution would be better. In what shape is this X-KDE-IsAlso 
now?

Andras

>
> Greetings, Stephan

- -- 
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+1D9QTQdfac6L/08RAt18AJ9h6ATJxUfTbXM+2GUhHwxGCI6qWQCbBP/l
JElRyfyoGiyFePHH0tfA+eA=
=Hk2L
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list