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: Lars Ingebrigtsen
Subject: bug#18522: 24.4.50; mapcar is very slow
Date: Sun, 28 Feb 2016 15:42:05 +1030
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

I've now rewritten that function to not use all those regexp and stuff,
and I'm pleased to say that

(benchmark-run 1
  (dotimes (i 100000)
    (parse-time-string "Fri, 13 Feb 2015 14:40:02 +0000")))

went from approx 9 seconds on my computer to 3.5 seconds (in fresh -Q
Emacsen).  :-)  (I haven't measured whether that's because it's creating
less garbage or just because it's ... faster.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no






reply via email to

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