]> granicus.if.org Git - php/commit
Added HashTable flag HASH_FLAG_STATIC_KEYS that is maintaned to be set if all hash...
authorDmitry Stogov <dmitry@zend.com>
Fri, 24 Apr 2015 06:34:50 +0000 (09:34 +0300)
committerDmitry Stogov <dmitry@zend.com>
Fri, 24 Apr 2015 06:34:50 +0000 (09:34 +0300)
commit62656877688abf51fcac74ec342483ca520ee15d
tree738b3314e1ae6a5baf7602cd4ba26b9b9e46592c
parent000d5d7ec9f5aaf78fbf34162b888892731bf7dd
Added HashTable flag HASH_FLAG_STATIC_KEYS that is maintaned to be set if all hash table keys are numbers or interned strings.
Take this flag into account when copy or destroy HashTable to avoud useless checks for each key.
Zend/zend_hash.c
Zend/zend_hash.h
ext/opcache/zend_persist.c