Personal website Rudolf Adamkovič

Home / Emacs Lisp / Map n-to-m side-effects: mapc function


Performance considerations

If performance is critical and the mapping function is inline,

prefer the dolist macro over the mapc function

to avoid the indirection overhead of lambda.


© 2025 Rudolf Adamkovič under GNU General Public License version 3.
Made with Emacs and secret alien technologies of yesteryear.