PATCH SlaveBase::listEntry() faster dir listing

Carsten Pfeiffer carpdjih at sp.zrz.tu-berlin.de
Tue May 28 21:49:25 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----

On Tuesday 28 May 2002 22:26, aleXXX wrote:

> Yes, even better would be some mega-clever sorting, which sorts only the
> items which *have* to be sorted at the moment (i.e. the items which are
> visible). The rest has only to be divided into less than and greater than,
> which could happen in slotNewItems(), where we already iterate through the
> whole list. Then we insert the part which will be displayed in the listview
> (so, maybe 200 items would have to be sorted at most). Maybe the sorting
> could even be done in a 0-timer, or a thread now that we have them.

And how would you determine which items should be visible, without sorting 
them?

Cheers
Carsten Pfeiffer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iQEVAwUBPPPtVaWgYMJuwmZtAQEyRggAgifCDmz7FCjvA3/yr28RxIptOBuP7SM3
c/Fs2sKUDkts1+ygwJ8WpG/FBqVKOog0Ci6yWLyUlAspSt+1TGhg8SzTWGoHbZEI
tjiBXW8Nfl4CkbwdbD9Lzj/oop+7PY9X99Yp9Z/pMCiW6Qxo/aRXzMYAn/2UrCZ6
JSyYYQ87nHFOLaixMevB00ZMWfN6S50b6fIbveJOv04GN0pit+R/BhGrPyyzN5NV
3j3xF1qWqqfAl6fkBGbVXEhzoQUdfoL8NWoNUJX+5qnohU01QG33kZNkjmtSwMz6
Oz1aiDP8oYsVuHn/xlHKGIbTyvrwtkL244VYN7owVf9KlX5JPBKgJw==
=A4w+
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list