Gnus development mailing list
 help / color / mirror / Atom feed
* Sorting threads (and articles)
@ 1996-01-10 21:32 Lars Magne Ingebrigtsen
  1996-01-12 11:24 ` Sten Drescher
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 1996-01-10 21:32 UTC (permalink / raw)


As was suggested earlier, Gnus now creates composite sorting functions
based on the functions in `gnus-thread-sort-functions'.  Gnus uses
this composite sort function, and does just a single `sort' call
instead of one `sort' per sorting function.

I wasn't really sure whether this would be faster or not, since the
composite sorting function isn't byte-compiled.  And...  the new
method seems to use 20% of the length of time the old method used.
Heh.  

(I've only tested with sorting over article number and subject;
sorting over date is still just as slow as always, I would think...)

-- 
   Lars Magne Ingebrigtsen * larsi@ifi.uio.no
      (a red leaf that falls from the purple tree)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Sorting threads (and articles)
  1996-01-10 21:32 Sorting threads (and articles) Lars Magne Ingebrigtsen
@ 1996-01-12 11:24 ` Sten Drescher
  0 siblings, 0 replies; 2+ messages in thread
From: Sten Drescher @ 1996-01-12 11:24 UTC (permalink / raw)
  Cc: ding

Lars Magne Ingebrigtsen <larsi@ifi.uio.no> said:

LMI> As was suggested earlier, Gnus now creates composite sorting
LMI> functions based on the functions in `gnus-thread-sort-functions'.
LMI> Gnus uses this composite sort function, and does just a single
LMI> `sort' call instead of one `sort' per sorting function.

LMI> I wasn't really sure whether this would be faster or not, since
LMI> the composite sorting function isn't byte-compiled.  And...  the
LMI> new method seems to use 20% of the length of time the old method
LMI> used.  Heh.

	Given this result, are you going to look at creating composite
group sorting functions?  And does this still leave the bug with
gathering orphaned articles, or has that sorting been moved to a
different function now?

-- 
#include <disclaimer.h>				/* Sten Drescher */
1973 Steelers    About Three Bricks Shy of a Load    1994 Steelers
1974 Steelers         And the Load Filled Up         1995 Steelers?
Unsolicited email advertisements will be proofread for a US$100 fee.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-01-12 11:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-01-10 21:32 Sorting threads (and articles) Lars Magne Ingebrigtsen
1996-01-12 11:24 ` Sten Drescher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).