Working on a pattern for interface-based dispatch that uses code-generation. Is this efficient?

x-ref to a recent thread: Eval cannot be used in a generated function - #11 by schlichtanders. TL;DR: you probably shouldn’t use hasmethod (or other functions depending on global state) in a generated function.

4 Likes