Rewrite the Gnus group activation method to be more efficient.
authorLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sat, 4 Sep 2010 15:39:22 +0000 (17:39 +0200)
committerLars Magne Ingebrigtsen <larsi@quimbies.gnus.org>
Sat, 4 Sep 2010 15:39:22 +0000 (17:39 +0200)
commitcbb6b60d34cf32d84fc608cb96c22f6334ae6515
tree97c6718b5f8962e605b6a8c0c111661fc02c5105
parentb40f6569ce2ef62e8a5716cb9ec56cf8de25f195
Rewrite the Gnus group activation method to be more efficient.

The main idea is to gather all groups based on their select methods,
and then issuing one `-request-list' per select method, instead of
activating them group by group.  This should in theory be much, much
faster, but there's a bunch of subtle interactions between a plethora
of variables that doesn't make this trivial to achieve.

This is a first stab at the issue, and seems to work, but I'm sure
that there are corner cases that doesn't quite work right.
lisp/gnus-group.el
lisp/gnus-int.el
lisp/gnus-start.el
lisp/mail-source.el
lisp/nnmail.el