[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs Lisp's future
From: |
Thorsten Jolitz |
Subject: |
Re: Emacs Lisp's future |
Date: |
Thu, 18 Sep 2014 09:46:41 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> I just tried a silly microbenchmark to get an idea of the byte-code
> interpreter's performance:
>
> (let ((x 0)) (dotimes (i 10000000) (setq x (- i x))) x))
>
> and on my machine, it took 3.5s compared. This isn't super-fast
> compared to Emacs-24.3 which takes 6.7s in the purely interpreted case
> and 1.7s in the byte-compiled case.
I could not resist to compare this with my favorite 'pure and powerful'
(and interpreted) PicoLisp:
,----
| : (bench (let X 0 (for I 10000000 (setq X (- I X))) X))
| 0.338 sec
| -> 5000000
`----
while the Emacs Lisp version on my machine yields:
,----
| : (benchmark-run nil (let ((x 0)) (dotimes (i 10000000) (setq x (- i x))) x))
`----
-> (3.5045056839999997 0 0.0)
See
,----
| http://picolisp.com/wiki/?PILvsEL
`----
for more speed comparisons between PicoLisp and Emacs Lisp.
--
cheers,
Thorsten
- Re: Emacs Lisp's future (was: Guile emacs thread (again)), (continued)
- Re: Emacs Lisp's future (was: Guile emacs thread (again)), Richard Stallman, 2014/09/17
- Re: Emacs Lisp's future (was: Guile emacs thread (again)), Kristian Nygaard Jensen, 2014/09/17
- Re: Emacs Lisp's future, Stefan Monnier, 2014/09/17
- Re: Emacs Lisp's future, James Cloos, 2014/09/17
- Re: Emacs Lisp's future, Stefan Monnier, 2014/09/17
- Re: Emacs Lisp's future, Stefan Monnier, 2014/09/17
- Re: Emacs Lisp's future, James Cloos, 2014/09/17
- Re: Emacs Lisp's future, Helmut Eller, 2014/09/18
- Re: Emacs Lisp's future,
Thorsten Jolitz <=
- Re: Emacs Lisp's future, Sam Steingold, 2014/09/18
- Re: Emacs Lisp's future, Stefan Monnier, 2014/09/18
- Re: Emacs Lisp's future, Sam Steingold, 2014/09/19
- Re: Emacs Lisp's future, Johan Bockgård, 2014/09/22
Re: Emacs Lisp's future, Robin Templeton, 2014/09/26
- Re: Emacs Lisp's future, David Kastrup, 2014/09/26
- Re: Emacs Lisp's future, Dmitry Antipov, 2014/09/26
- Re: Emacs Lisp's future, Eli Zaretskii, 2014/09/26
- Re: Emacs Lisp's future, David Kastrup, 2014/09/26
- Re: Emacs Lisp's future, Stephen J. Turnbull, 2014/09/27