summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorTyson Andre <tysonandre775@hotmail.com>2020-01-19 13:44:13 -0500
committerTyson Andre <tysonandre775@hotmail.com>2020-01-20 09:54:04 -0500
commit691880b22c1ebdf7b58a25e599d2ba41c72b1dfa (patch)
tree826bcf239b0f0555ce83e57d944bc4c2eb406f18 /ext/reflection/php_reflection.c
parent0fbdc5a378588846ff1d0f4162af2e83c8578842 (diff)
downloadphp-git-691880b22c1ebdf7b58a25e599d2ba41c72b1dfa.tar.gz
Speed up unserializing object properties
Hash table lookups are slow. Don't do one a second time to update the property. The call to zend_hash_update_ind goes back to 8b0deb8cd2d Background: Properties are IS_INDIRECT when they're a declared property, and point to properties_table. See https://nikic.github.io/2015/06/19/Internal-value-representation-in-PHP-7-part-2.html#objects-in-php-7
Diffstat (limited to 'ext/reflection/php_reflection.c')
0 files changed, 0 insertions, 0 deletions