8:51:04heisigThe plan is that a programmer can set inlineability of each method. If all applicable methods are inlineable, it is possible to inline the effective method.
8:51:07beachEr, wait, why isn't the keyword parsing done in a compiler macro?
8:52:02heisigThere are two reasons why I wouldn't want to do the keyword parsing in a compiler macro:
8:52:18heisig1. New methods could introduce additional keywords at runtime.
8:53:00heisig2. Then I would need to write one function with keywords (the default), and one without keywords (the fast path).
8:54:34heisigMy proposal is to generate the fast path automatically IF the list of applicable methods is statically known and consists of sealed methods only.
8:54:46heisigNow I just have to run some benchmarks.