Another nice consequence of compiling Emacs from source is that you can view the C source of builtins. It's wacky C: https://github.com/emacs-mirror/emacs/blob/984a14904658da42ca9dea50a811a901ddc56e60/src/data.c#L346