[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why is Elisp slow?
From: |
Stefan Monnier |
Subject: |
Re: Why is Elisp slow? |
Date: |
Tue, 09 Oct 2018 08:27:26 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> elisp is mostly interpreted (contrarily to C which is always compiled to
^^^
almost
> native code, so directly executed by the CPU) and very very dynamic
> afaik, not that much optimized at byte-compilation afaiu from what I
> observed, and I guess not that much optimized from the VM point of view…
Emacs's implementation of Elisp is fairly naive and not carefully
optimized. As a result it's not blazing fast. This said, on the rare
occasions Elisp was compared to other systems it didn't seem nearly as
slow as I thought. E.g. I wouldn't be surprised to hear that it's about
as fast as Python (not talking about things like PyPy, tho).
Stefan
- Re: Knowing where a function has been used (bis) [Was: Re: Optimising Elisp code], (continued)
- Re: Knowing where a function has been used (bis) [Was: Re: Optimising Elisp code], Óscar Fuentes, 2018/10/10
- Message not available
- Re: Knowing where a function has been used (bis) [Was: Re: Optimising Elisp code], Emanuel Berg, 2018/10/08
- Naming, and Gnus functions length [Was: Re: Knowing where a function has been used (bis) [Was: Re: Optimising Elisp code]], Garreau, Alexandre, 2018/10/08
- Message not available
- Re: Naming, and Gnus functions length [Was: Re: Knowing where a function has been used (bis) [Was: Re: Optimising Elisp code]], Emanuel Berg, 2018/10/08
- Re: Naming, and Gnus functions length [, Garreau, Alexandre, 2018/10/08
- Message not available
- Re: Naming, and Gnus functions length [, Emanuel Berg, 2018/10/08
- Re: Naming, and Gnus functions length [Was: Re: Knowing where a function has been used (bis) [Was: Re: Optimising Elisp code]], Eli Zaretskii, 2018/10/08
- Message not available
- Why is Elisp slow? (was: Re: Naming, and Gnus functions length [Was: Re: Knowing where a function has been used (bis) [Was: Re: Optimising Elisp code]]), Emanuel Berg, 2018/10/08
- Re: Why is Elisp slow?, Garreau, Alexandre, 2018/10/08
- Re: Why is Elisp slow?,
Stefan Monnier <=
- Message not available
- Re: Why is Elisp slow?, Emanuel Berg, 2018/10/09
- Re: Why is Elisp slow?, Garreau, Alexandre, 2018/10/09
- Re: Why is Elisp slow?, Eli Zaretskii, 2018/10/09
- Message not available
- Re: Knowing where a function has been used (bis) [Was: Re: Optimising Elisp code], Emanuel Berg, 2018/10/07
- Message not available
- Re: Knowing where a function has been used (e.g. for optimizing) [Was: Re: Optimising Elisp code], Emanuel Berg, 2018/10/07
- Getting functions usage examples [Was: Re: Knowing where a function has been used (e.g. for optimizing) [Was: Re: Optimising Elisp code]], Garreau, Alexandre, 2018/10/07
- Re: Getting functions usage examples [Was: Re: Knowing where a function has been used (e.g. for optimizing) [Was: Re: Optimising Elisp code]], Van L, 2018/10/07
- Re: Getting functions usage examples [, Garreau, Alexandre, 2018/10/08
- Re: Getting functions usage examples [, Van L, 2018/10/09
- Message not available
- Re: Getting functions usage examples [Was: Re: Knowing where a function has been used (e.g. for optimizing) [Was: Re: Optimising Elisp code]], Emanuel Berg, 2018/10/07