Post #2745830
2026-05-21 05:29 UTC
@screwlisp@gamerplus.org @marcoxa@mastodon.social @mdhughes@appdot.net @me The constant (often redundant) type checking in Elisp is one of the bottlenecks for performance. It is necessary to avoid runtime crashes on C level, and type optimizations have a lot of potential here (IMHO). I think this area may benefit from input from someone familiar with compilers. I do not recall anyone apart from the author - Andrea Corallo who seriously works on these things in Emacs.
Replies (1)
-
@minad@mastodon.world 2026-05-21 05:37
@yantar92@fosstodon.org Another bottleneck are function calls. Automatic inlining is not possible, since advices can hook into each function. Even pure code can suddenly become effectful. @screwlisp@gamerplus.org @marcoxa@mastodon.social @mdhughes@appdot.net @me