Hi all,

I am looking into zend op_array structure, and few questions raised in my
mind:

1. Why op_array->refcount uses *uint32 instead of uint32, is there a
reason? if we can replace it with uint32, then we might save one emalloc
call for memory allocation for every op_array allocation?

2. There are also a lot of information saved in the op_array structure, if
we can move line_start, line_end, doc_comments...etc into an external
structure, then we might be able to reduce the op_array size and decrease
the cache miss? is it doable?



Cheers,
Yo-An Lin
https://github.com/c9s

Reply via email to