[PATCH] Re: imaputil: make uid_sequence sort all items to improve collapsing

Nicolas Sebrecht nicolas.s-dev at laposte.net
Fri Sep 2 21:05:56 BST 2011

On Tue, Aug 30, 2011 at 09:22:33AM +0200, Sebastian Spaeth wrote:
> To preserve previous behavior and save a few CPU cycles, we were not
> sorting UID lists and only collapsed them if they were alreay sorted.
> Vincent Beffara <vbeffara at ens-lyon.fr> pointed out that this is not

Changed this line to:

  Vincent pointed out that this is not

> always the case and unsorted lists lead to non-optimally collapsing.
> Force lists to numeric types and sort them before collapsing.
> Signed-off-by: Sebastian Spaeth <Sebastian at SSpaeth.de>

And added Reported-by line with full name and email.

Thank you both!

Nicolas Sebrecht

More information about the OfflineIMAP-project mailing list