After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 127247 - Speeding up resorting
Speeding up resorting
Product: Pan
Classification: Other
Component: general
Other other
: Normal enhancement
: 0.14.3
Assigned To: Charles Kerr
Pan QA Team
Depends on:
Reported: 2003-11-18 00:05 UTC by Samuli Kärkkäinen
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement

Description Samuli Kärkkäinen 2003-11-18 00:05:50 UTC
From pan-users:

Jeff Vian wrote:
> Charles Kerr wrote:
> >  On Sat, Nov 15, 2003 at 07:11:01PM +0200, Samuli Kärkkäinen wrote:
> > > Sorting the header pane by a different field appears to take time in
> > > proportion to total number of articles in the group, even if the
> > > filters filter out most of the articles. Obviously this is because
> > > pan seems to perform the filtering stage again upon every sort. This
> > > seems unnecessary, given that choosing a different field to sort by,
> > > AFAIK, cannot change the list of articles shown.
> > >
> > > With very large groups, it would be a nice performance improvement to
> > > not do the unnecessary refiltering, but just the sorting.
> >
> > This is a good idea; please file a bugzilla report.
> Maybe a single sort creating a linked list on every field.  Then simply
> select the field and the list is already sorted with a linked list.  It
> would likely slow the very first sort, but new headers can be inserted in
> the lists and would not really slow the incremental sorts with each
> download.