emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Type declarations in Elisp (was: [External] : Re: Shrinking the C core)


From: Gerd Möllmann
Subject: Type declarations in Elisp (was: [External] : Re: Shrinking the C core)
Date: Mon, 21 Aug 2023 11:30:45 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.14.0

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.

I'd rather see some profile runs first that show where in some typical (tm) native-compiled ELisp program how much time is spent.

I personally was actually suprised by how much native compilation makes Emacs feel fast, because my gut feeling was that ELisp programs spend most of their time in C anyway. Everything having to with buffer-text manipulation, searches, text-properties, the list goes on... Even buffer-local bindings, coming to think of it.

Anyway, profiling would be interesting, I think.





reply via email to

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