You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f425ddb
Browse filesBrowse the repository at this point in the historyBrowse files
Speed up zend_hash_iterator_add() when iterators are nested
zend_hash_iterator_add() scanned EG(ht_iterators) from slot 0 on every
call, so each nested foreach by reference, foreach over object
properties, ArrayIterator or array_walk() paid one probe per iterator
already alive.
EG(ht_iterators_free_hint) tracks that all slots below it are in use:
zend_hash_iterator_add() starts looking from there and
zend_hash_iterator_del() lowers it. The returned slot is still the
lowest free one, so slot indexes and EG(ht_iterators_used) are the same
as before.
0 commit comments