I saw in a previous discussion on the addition of JIT that
performance in web applications wasn't improved due to
data locality issues. I was just wandering weather it would be
possible to/worthwhile to add more facility to control data layout,
for those who may wish to do so, while leaving the existing data
structures alone. I'm thinking along the lines of what numpy
does for python?
As far as I'm aware, the FFI which has been accepted does
allow this lower level control of memory layout. However it
is noted that it has much worse performance than the native
php structures. Is this due to runtime type conversions?
Do note that my understanding of PHP's internals is limited to
the articles I've read on the subject, so this thought is from an