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

Previous Next

Packages: gnus, emacs;

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 #114 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 18:14:18 +0200
> From: Peter Münster <pmlists <at> free.fr>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  larsi <at> gnus.org,  18522 <at> debbugs.gnu.org
> Date: Sun, 21 Feb 2016 15:54:43 +0100
> 
> Sorry, I was wrong. The problem seems to be the binding of
> case-fold-search:
> 
> (defun my-parse-time-string-test ()
>   (let (case-fold-search)
>     t))
> 
> (let ((gc-cons-threshold most-positive-fixnum))
>   (benchmark-run 1
>     (dotimes (i 100000) (my-parse-time-string-test))))
> 
> Fast emacs: (0.054105733 0 0.0)
> Slow emacs: (1.754813882 0 0.0)

Does this happen only with this particular symbol, or binding any
symbol slows down?




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.