bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#18522: 24.4.50; mapcar is very slow


From: Eli Zaretskii
Subject: bug#18522: 24.4.50; mapcar is very slow
Date: Sun, 21 Feb 2016 18:14:18 +0200

> From: Peter Münster <address@hidden>
> Cc: Eli Zaretskii <address@hidden>,  address@hidden,  address@hidden
> 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?





reply via email to

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