6 ms·
My understanding is that Graal's compilation units are basically an amalgamation of all of the hot code in an area; function boundaries don't really come into i
by Veedrac 9y ago
My understanding is that Graal's compilation units are basically an amalgamation of all of the hot code in an area; function boundaries don't really come into it in the same way they do in C. If you're reliably tail recursing, that's going to be in the same compilation unit. This image might make it clearer:
https://www.researchgate.net/profile/Chris_Seaton/publication/285051808/figure/fig3/AS:614311105929231@1523474589199/Self-optimising-ASTs-in-Truffle-114.png https://www.researchgate.net/profile/Chris_Seaton/publicatio...