[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Type declarations in Elisp (was: [External] : Re: Shrinking the C core)
From: |
Ihor Radchenko |
Subject: |
Type declarations in Elisp (was: [External] : Re: Shrinking the C core) |
Date: |
Mon, 21 Aug 2023 08:54:36 +0000 |
Drew Adams <drew.adams@oracle.com> writes:
>> So the answer to the question, Why is SBCL faster?
>> is "optimizations". And the answer to the question, Why don't
>> we have those optimizations? is "they are not portable"?
>
> https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node103.html#SECTION001300000000000000000
>
> Common Lisp is a standard. Different implementations
> of it should respect the standard, but the standard
> allows for different behaviors to some extent, esp.
> wrt performance. CL has multiple ways of declaring
> different levels of optimization, which a given
> implementation can support or not.
I am wondering if type, ftype, and inline declarations could be added to
Elisp. Native compilation already uses a fixed set of ftype
declarations, but it cannot be modified and cannot be declared
per-defun.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- Re: Shrinking the C core, (continued)
- Re: Shrinking the C core, Emanuel Berg, 2023/08/22
- Re: Shrinking the C core, Alfred M. Szmidt, 2023/08/23
- Re: Shrinking the C core, Emanuel Berg, 2023/08/23
- Re: Shrinking the C core, Emanuel Berg, 2023/08/25
- Re: Shrinking the C core, Emanuel Berg, 2023/08/20
- Re: Shrinking the C core, tomas, 2023/08/20
- Re: Shrinking the C core, Ihor Radchenko, 2023/08/20
- RE: [External] : Re: Shrinking the C core, Drew Adams, 2023/08/20
- Type declarations in Elisp (was: [External] : Re: Shrinking the C core),
Ihor Radchenko <=
- Type declarations in Elisp (was: [External] : Re: Shrinking the C core), Gerd Möllmann, 2023/08/21
- Re: Type declarations in Elisp, Eli Zaretskii, 2023/08/21
- Re: Type declarations in Elisp (was: [External] : Re: Shrinking the C core), Ihor Radchenko, 2023/08/21
- Re: Type declarations in Elisp, Gerd Möllmann, 2023/08/22
- Re: Type declarations in Elisp, Ihor Radchenko, 2023/08/22
- Re: Type declarations in Elisp, Eli Zaretskii, 2023/08/22
- Re: Type declarations in Elisp, Emanuel Berg, 2023/08/22
- Re: Type declarations in Elisp, Andrea Corallo, 2023/08/25
- Re: Type declarations in Elisp, Emanuel Berg, 2023/08/26
- Re: Type declarations in Elisp, Ihor Radchenko, 2023/08/27