Re:Brendan Eich on Ecma TC39, JavaScript.next, and Google Dash
by chromatic on Sunday September 11, 2011 @06:12PM
(#2985021)
You're right about LuaJIT, but there's no reason the VM can't also optimize code paths related to high-level string operations.
[ Parent
| on HN ]
Re:Brendan Eich on Ecma TC39, JavaScript.next, and Google Dash
by Nitramp on Monday September 19, 2011 @12:03PM
(#3014044)
Well, at some point you might run out of space in the opcode byte (or multiple bytes), and then you need longer sequences that put up more cache pressure and require more time decoding, right?
Also, the developers time budget and the VMs complexity migth keep you from optimizing all possible paths.