2 ms·
Then why isn't your argument against code size rather than performance? Seems like an odd position to take. The fast path would also be branch predicted in an A
by xigency 11y ago
Then why isn't your argument against code size rather than performance? Seems like an odd position to take. The fast path would also be branch predicted in an AOT case.
The only difference in this hypothetical is that the slower path would run faster.
- PeCaN 11y agoBecause with 80%+ unused code, your instruction cache is gonna choke. Also JITs can remove many more type checks, because it knows when a check would be redundant. See e.g. Lazy Basic Block Versioning[1], but existing tracing JITs do quite well also. 1. http://arxiv.org/abs/1411.0352 http://arxiv.org/abs/1411.0352