Re:Ahead-of-Time Compilation
by psuter on Saturday October 01, 2016 @12:32AM
(#12616523)
One thing JIT compilers are good at is specializing methods for common (runtime) types; e.g. you have a method operating on Iterable but it turns out most of the time you get a List as input; you can generate code that bypasses the method lookups for .size etc. The question of whether this pays off is usually only answerable at runtime.
[ Parent
| on HN ]