3 ms·
> Only STR and FMT get good perf because they are specialized by the compiler. Sort of. The specialisation happens for any user of MethodHandle.invokeExact, wh
by pron 3y ago
> Only STR and FMT get good perf because they are specialized by the compiler.
Sort of. The specialisation happens for any user of MethodHandle.invokeExact, which is what those processors use (i.e. the compiler doesn't specifically know about STR and FMT), it's just that the MethodHandle API for template processors is not yet public. I expect it will be made public later on.