On Wed, 07 Oct 2009 13:55:36 +0200, "A.L.E.C" <[email protected]> wrote:
> Chris January wrote:
>
>>> But re-sorting by message index shouldn't be very slow, since we don't
>>> fetch any data from IMAP server. I still force to not use this
'default'
>>
>>> stuff.
>>
>> Sorting ~30,000 threads with ~60,000 messages in them takes in the
order
>> of minutes on my machine. This is unacceptably slow, that's why I added
>> the
>> 'default' option.
>
> But my point is to not sort anything if sort_col=date. We don't need
> 'default' sorting, since THREAD result is already sorted by date. I
> don't know what sorting are you talking about.
Ah, I see your point now - so the code would do:
if (sort_col='date' && threading) {
// don't sort
}
Yes I can see that makes sense, assuming the user is using REFS or
REFERENCES and not ORDEREDSUBJECT.
Chris
_______________________________________________
List info: http://lists.roundcube.net/dev/