4 ms·
> Another benefit of this approach is that it would be very easy to turn it off, and generate static code (like Java would) for production. Note that there's a
by chrisseaton 4y ago
> Another benefit of this approach is that it would be very easy to turn it off, and generate static code (like Java would) for production.
Note that there's already zero peak overhead to a switch point for an invoke dynamic call site, so 'turning it off' wouldn't make any difference to the machine code or speed of the program.
- metadat 4y agoWhat is meant by "zero peak overhead"? How is it different from "zero overhead"?
- chrisseaton 4y agoDepends on when you measure the overhead. Peak means when it’s running at its fastest.
- metadat 4y agoWhat is the cost at whatever the opposite of peak is called?
- chrisseaton 4y agoCold performance, warmup time, wasted iterations, etc. Unfortunately it's impossible (as far as we know) to give a single scalar number for 'performance'.