[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

slow `B m' due to a require for each of gnus-active-hashtb

From: Kevin Brubeck Unhammer
Subject: slow `B m' due to a require for each of gnus-active-hashtb
Date: Tue, 09 Aug 2016 11:33:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)


On Gnus v5.13, Emacs 24.5.1, doing `B m` takes quite a long time (10s
and up) before it shows any prompt (but seemingly only after I've been
using Emacs for a while). If I toggle-debug-on-quit and poormansprofile
it a bit, the backtraces always look like this:

Debugger entered--Lisp error: (quit)
  gnus-get-function((nntp "") request-accept-article t)
  #[(symbol) " !\205  \nB\211\207" [predicate symbol out] 
  mapatoms(#[(symbol) "        !\205  \nB\211\207" [predicate symbol out] 2] 
[nntp+news\.gmane\.org:gmane\.comp\.storage\.spectrum-scale\.gpfs\.user  ...])
[nntp+news\.gmane\.org:gmane\.comp\.storage\.spectrum-scale\.gpfs\.user ...] t)
  gnus-read-move-group-name("Move" "nnimap+fmmbsync:Junk Mail" (397) 
  call-interactively(gnus-summary-move-article nil nil)

It's a lot faster if I simply comment out (require (car method)) from
gnus-get-function (the require seems to still be there in git). If
that's not safe (how many backend methods are there?), then perhaps
there could be an alternate active group storage that organises active
groups hierarchically, so it would be possible to go from
valid-move-group to a set of groups?

Kevin Brubeck Unhammer

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]