3 ms·
> Null checks are effectively free on the JVM I don't want the bytecodes added. I have tracing I am doing and I need more predictable instructions. It's not ju
by kodablah 9y ago
> Null checks are effectively free on the JVM
I don't want the bytecodes added. I have tracing I am doing and I need more predictable instructions. It's not just a performance issue.
Also, you should not assume cost of a JVM implementation of things based on your empirical evidence from a single, popular VM. For example, how does TeaVM translate it?