Re:PHP 8 to Add a JIT
by inglor on Sunday March 31, 2019 @04:22PM
(#19538117)
And of course a smart JIT compiler can even put the variable access lookup in an inline cache on the function so that in the future it's a direct type + key = offset calculation rather than a memory lookup and the hash_get call is avoided.
[ Parent
| on HN ]
Re:PHP 8 to Add a JIT
by a1369209993 on Sunday March 31, 2019 @05:37PM
(#19538580)
True. I was aiming for the simplest example that could pass as real general-case-ish assembly; there's plenty of room for improvement.