This is an example of using precomp with Banjo-Kazooie. For more details on what precomp is, see https://github.com/Mr-Wiseguy/N64-Precomp-Example
Link to Banjo-Kazooie decomp: https://gitlab.com/banjo.decomp/banjo-kazooie
(Note that for this game, you need to copy every .elf file generated during the Banjo-Kazooie decomp build into the elf folder instead of just the single one like the linked example describes)