Given a function that calls not
:
(defun my-not (x)
(not x))
M-x disassemble
gives:
byte code for my-not:
doc: ...
args: (arg1)
0 dup
1 not
2 return
I was surprised that this didn't do:
constant not
stack-ref 1
call 1
because otherwise I cannot redefine not
and affect the original function.
I imagine this is done for performance. Which functions does apply to, and where it is it documented?