History log of /PHP-7.0/Zend/zend_hash.c (Results 76 – 100 of 346)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 73c1be26 15-Jan-2015 Xinchen Hui

Bump year


# 34723d1b 15-Jan-2015 Dmitry Stogov

Fixed malloc/emalloc mess


# 989daeb5 15-Jan-2015 Dmitry Stogov

Initialize ht->nTableMask


# 8e3764e2 14-Jan-2015 Anatol Belski

fixed zend_hash_init() when the lzcnt instruction isn't supported


# 2193de0d 14-Jan-2015 Xinchen Hui

Faster sorting algo


Revision tags: php-5.5.21RC1, php-5.6.5RC1
# b7a7b1a6 03-Jan-2015 Stanislav Malyshev

trailing whitespace removal


# 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


12345678910>>...14