GNU bug report logs - #18522
occasional slow performance in some Gnus code

Previous Next

Packages: emacs, gnus;

Reported by: Peter Münster <pmlists <at> free.fr>

Date: Mon, 22 Sep 2014 10:38:02 UTC

Severity: normal

Tags: fixed

Found in version 24.4.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #120 received at 18522 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Peter Münster <pmlists <at> free.fr>
Cc: rudalics <at> gmx.at, larsi <at> gnus.org, 18522 <at> debbugs.gnu.org
Subject: Re: bug#18522: 24.4.50; mapcar is very slow
Date: Sun, 21 Feb 2016 22:45:34 +0200
> From: Peter Münster <pmlists <at> free.fr>
> Cc: rudalics <at> gmx.at,  larsi <at> gnus.org,  18522 <at> debbugs.gnu.org
> Date: Sun, 21 Feb 2016 19:03:49 +0100
> 
> On Sun, Feb 21 2016, Eli Zaretskii wrote:
> 
> > Does this happen only with this particular symbol, or binding any
> > symbol slows down?
> 
> It depends on the symbol:
> 
> case-fold-search:     slow
> fill-column:          slow
> just-a-symbol:        fast
> custom-file:          fast
> 
> Can you reproduce it?

I see a 5-fold slow-down with case-fold-search, not a 30-fold as you
reported.

It sounds like the difference is between buffer-local variables and
global variables.  Setting the former will potentially loop over all
the buffers and set the value for every buffer that doesn't have a
local value.  See data.c around line 1517.  How many buffers do you
have in the "slow" version?  I have 230.




This bug report was last modified 8 years and 170 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.