History log of /PHP-8.0/Zend/zend_hash.c (Results 176 – 200 of 440)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 37466b03 27-Dec-2014 Dmitry Stogov

Use special flag (HASH_FLAG_INITIALIZED) instead of (nTableMask == 0) to indicate that HashTable is allocated.
Make nTableMask to be 0 for packed arrays.
Remove checks fo HASH_FLAG_PACKED in

Use special flag (HASH_FLAG_INITIALIZED) instead of (nTableMask == 0) to indicate that HashTable is allocated.
Make nTableMask to be 0 for packed arrays.
Remove checks fo HASH_FLAG_PACKED in zend_hash_find/zend_hash_del and family (string keys are resolved through uninitialized_bucket).
Change HashTable layout for better locality.

show more ...


# 2d212b42 23-Dec-2014 Nikita Popov

Drop duplicate arg from hash_get_current_key_ex


# 3d12fc79 23-Dec-2014 Nikita Popov

Small cleanups in hash implementation

* Drop unnecessary checks in non-inlined part of numeric key
detection
* Drop zend_hash_apply_deleter in favor of zend_hash_del_el.

Small cleanups in hash implementation

* Drop unnecessary checks in non-inlined part of numeric key
detection
* Drop zend_hash_apply_deleter in favor of zend_hash_del_el.
Also move block/unblock interruption macros in there.

show more ...


# c462ff7a 23-Dec-2014 K.

zend_hash_do_resize: fix compacting condition

nNumUsed should always be greater or equal to nNumOfElements so original condition is never true and arrays are always doubled in size and compa

zend_hash_do_resize: fix compacting condition

nNumUsed should always be greater or equal to nNumOfElements so original condition is never true and arrays are always doubled in size and compaction is never triggered

show more ...


# e60b7207 23-Dec-2014 Anatol Belski

cleanup


# 441270db 19-Dec-2014 Dmitry Stogov

Simplify condition


Revision tags: POST_NATIVE_TLS_MERGE, PRE_NATIVE_TLS_MERGE, php-5.5.20, php-5.4.36, php-5.6.4
# bdeb220f 13-Dec-2014 Anatol Belski

first shot remove TSRMLS_* things


Revision tags: php-5.6.4RC1, php-5.5.20RC1
# 3727e264 25-Nov-2014 Dmitry Stogov

Improved zend_hash_clean() and added new optimized zend_symtable_clean()


# ab7b38e3 25-Nov-2014 Dmitry Stogov

Added new optimized zend_array_destroy() function


# 6b3b4fc9 15-Nov-2014 Anatol Belski

joined identical conditional blocks


Revision tags: php-5.6.3, php-5.5.19, php-5.4.35
# b9f1daa9 06-Nov-2014 Anatol Belski

basic clang compatibility on windows


# 4f3763e2 06-Nov-2014 Dmitry Stogov

Micro optimizations


Revision tags: php-5.6.3RC1, php-5.5.19RC1
# e70dce7d 23-Oct-2014 Anatol Belski

fix datatype mismatch


# 53797ec1 23-Oct-2014 Anatol Belski

move the more common case up


# 8793aa40 22-Oct-2014 Dmitry Stogov

Optimized HashTable size calculation


# d5ccf4d2 22-Oct-2014 Anatol Belski

eliminate one branch when computing the initial table size


# f59daf21 22-Oct-2014 Anatol Belski

micro optimized initial hash size calculation

most of the calls are with a size <= 8, so don't even bother any
bitshifts. For the bigger sizes, use an intrinsic (should be extended
w

micro optimized initial hash size calculation

most of the calls are with a size <= 8, so don't even bother any
bitshifts. For the bigger sizes, use an intrinsic (should be extended
with gcc ones though).

show more ...


# 2a1250fa 16-Oct-2014 Dmitry Stogov

Micro optimization for zend_hash_next_index_insert_new()


Revision tags: php-5.5.18
# c00424e4 15-Oct-2014 Anatol Belski

bring back all the TSRMLS_FETCH() stuff

for better comparability with the mainstream


Revision tags: php-5.4.34, php-5.5.18RC1, php-5.6.1
# 06d0230a 26-Sep-2014 Anatol Belski

cleanup TSRMLS_FETCH


Revision tags: php-5.6.2
# bccc6531 19-Sep-2014 Dmitry Stogov

Avoid double IS_INTERNED() check


# 1e0e1b4a 18-Sep-2014 Dmitry Stogov

Split big _zend_handle_numeric_str() into small always inlined function that makes initial check and regular big function


Revision tags: php-5.4.33
# c2decc6a 16-Sep-2014 Dmitry Stogov

optimized colision list traverse


Revision tags: php-5.5.17
# 311a67a2 16-Sep-2014 Nikita Popov

Remove HASH_NEXT_INSERT flag

We already pass ht->nNextFreeElement and the rest is handled by
ZEND_HASH_ADD.


# 0bf55b65 16-Sep-2014 Nikita Popov

Remove two more always-true conditions


12345678910>>...18