Re:Register-based VMs have a higher performance than stack-b...
by questerzen on Monday December 12, 2016 @01:26AM
(#13156054)
I imagine you are right. But there should be plenty of scope for optimising this in the VM itself. Most stack operations are immediately preceded by a push, so hold the top of the stack in a register and the last push in another and you could avoid a high proportion of memory calls in the most common cases. Does anyone know if JVM implementations do this?
[ Parent
| on HN ]
There are no comments on this comment yet.