[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, 07 May 2019 08:56:24 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>> - Writing wrappers in lisp for all our C functions exposed to Lisp I
All those are defined with a "DEFUN" macro on the C side.
Whatever change is needed on this side can likely be made largely
mechanically, so I'm not worried.
Similarly, you'll need to rewrite all the functions/macros like CONSP,
SYMBOLP, FIXNUMP, XCAR, XCDR, make_fixnum, ... Performance of those
is important.
> What I was thinking about using CL to support Elisp is to define a new
> namespace for symbols (which, in CL terms, is a so-called ‘package’)
> named ‘elisp’.
As I already mentioned, this already exists: elisp.lisp.
Stefan
- Re: Why is Elisp slow?, (continued)
- Re: Why is Elisp slow?, Jean-Christophe Helary, 2019/05/06
- Re: Why is Elisp slow?, Ergus, 2019/05/06
- Re: Why is Elisp slow?, Ergus, 2019/05/06
- Re: Why is Elisp slow?, Ergus, 2019/05/07
- Re: Why is Elisp slow?, 조성빈, 2019/05/07
- Re: Why is Elisp slow?, Ergus, 2019/05/07
- Re: Why is Elisp slow?,
Stefan Monnier <=
- Re: Why is Elisp slow?, 조성빈, 2019/05/07
- Re: Why is Elisp slow?, Stefan Monnier, 2019/05/07
- Re: Why is Elisp slow?, Ergus, 2019/05/07
- Re: Why is Elisp slow?, 조성빈, 2019/05/07
- Re: Why is Elisp slow?, Stefan Monnier, 2019/05/07
- Re: Why is Elisp slow?, Ergus, 2019/05/07
- Re: Why is Elisp slow?, Ergus, 2019/05/09
- Re: Why is Elisp slow?, 조성빈, 2019/05/09
- Re: Why is Elisp slow?, Ergus, 2019/05/10
- Re: Why is Elisp slow?, 조성빈, 2019/05/10