Variable: native-comp-never-optimize-functions

native-comp-never-optimize-functions is a customizable variable defined in comp-common.el.gz.

Value

(eval)

Documentation

Primitive functions to exclude from trampoline optimization.

Primitive functions included in this list will not be called directly by the native-compiled code, which makes trampolines for those primitives unnecessary in case of function redefinition/advice.

This variable was added, or its default value changed, in Emacs 30.1.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/comp-common.el.gz
(defcustom native-comp-never-optimize-functions
  ;; We used to list those functions here that were advised during
  ;; preload, but we now prefer to disallow preload advices in
  ;; loadup.el (bug#67005).
  '(eval)
  "Primitive functions to exclude from trampoline optimization.

Primitive functions included in this list will not be called
directly by the native-compiled code, which makes trampolines for
those primitives unnecessary in case of function redefinition/advice."
  :type '(repeat symbol)
  :version "30.1")