History log of /PHP-8.4/Zend/zend_hash.c (Results 251 – 275 of 481)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: POST_PHPNG_MERGE, PRE_PHPNG_MERGE
# 2ece977c 14-Aug-2014 Dmitry Stogov

Fixed conversion of empty packed array into hash


Revision tags: php-5.6.0RC4, php-5.3.29, php-5.5.16RC1, php-5.4.32RC1, php-5.3.29RC1, php-5.6.0RC3, php-5.5.15, php-5.4.31, php-5.4.31RC1, php-5.5.15RC1, php-5.6.0RC2, php-5.4.30, php-5.5.14, php-5.6.0RC1, php-5.5.14RC1, php-5.4.30RC1
# c1965f58 05-Jun-2014 Dmitry Stogov

Use reference counting instead of zval duplication


Revision tags: php-5.6.0beta4
# b3b616cf 29-May-2014 Dmitry Stogov

Introduced immutable arrays. They don't need to be copyed and may be used directly from SHM.


Revision tags: php-5.4.29, php-5.5.13
# 40256e0f 26-May-2014 Dmitry Stogov

Use specialized functions instead of macros


# b66728aa 26-May-2014 Dmitry Stogov

Removed useless initializations


# 9eb89ddd 23-May-2014 Dmitry Stogov

Use optimized zend_array_dup() function. convert zend_hash_num_elements() and zend_hash_next_free_element() into macros.


# 21da8af5 18-May-2014 Dmitry Stogov

Removed the old hack that was originally developed to support constants in array indeces, and isn't needed anymore after the Bob's patch.


# d07c1941 18-May-2014 Dmitry Stogov

Use new hash iteration API and avoid old zend_hash_update_current_key() hack


Revision tags: php-5.5.13RC1, php-5.6.0beta3, php-5.4.29RC1
# e7b50a8e 13-May-2014 Tjerk Meesters

Convert to unpacked before deleting elements

Return FAILURE immediately if a string index removal is attempted.

Moved condition higher up


Revision tags: php-5.6.0beta2, php-5.5.12, php-5.4.28
# b30c7fe2 23-Apr-2014 Nikita Popov

Port JSON


# 69b5ee61 02-May-2014 Nikita Popov

Fixed bug #67169: []= after_array_splice incorrect

This fixes a regression I introduced in beta 1.


# b1ff1527 24-Apr-2014 Dmitry Stogov

Reimplement strtr()


# c98d373e 23-Apr-2014 Nikita Popov

Fix strict array comparison

Fixes Symfony test failures


# 72c287bd 21-Apr-2014 Dmitry Stogov

Combine HashTable.flags and HashTable.nApplyCount into single 32-bit word


Revision tags: php-5.4.28RC1, php-5.5.12RC1
# 050d7e38 15-Apr-2014 Dmitry Stogov

Cleanup (1-st round)


Revision tags: php-5.6.0beta1
# ad2ef3d9 09-Apr-2014 Nikita Popov

Add only_integer_keys option to zend_hash_reindex

This allows to either do a full reindex, or only reindex the integer
keys.


# 22d3eb31 08-Apr-2014 Nikita Popov

Add zend_hash_splice

This implements the original functionality of php_splice, but
as an in-place operation, thus avoiding copying the HT.

This is much faster (~10x) if the spli

Add zend_hash_splice

This implements the original functionality of php_splice, but
as an in-place operation, thus avoiding copying the HT.

This is much faster (~10x) if the splice removes a small portion
of the array and doesn't insert many elements.

show more ...


# 1aa8719e 08-Apr-2014 Nikita Popov

Add zend_hash_reindex

The implementation differs from the original in array.c in that it
rehashes the hashtable in the same loop. This is approximately two
times faster (not counting

Add zend_hash_reindex

The implementation differs from the original in array.c in that it
rehashes the hashtable in the same loop. This is approximately two
times faster (not counting the rare case of a purely associative
array).

show more ...


# 3d17219c 07-Apr-2014 Dmitry Stogov

Refactored zend_hash_* iteration API zend_hash_fove_forward_ex(ht, pos) and family require second argument to be real pointer.
&(ht)->nInternalPointer should be passed instead of NULL.
zend_h

Refactored zend_hash_* iteration API zend_hash_fove_forward_ex(ht, pos) and family require second argument to be real pointer.
&(ht)->nInternalPointer should be passed instead of NULL.
zend_hash_update_current_key() may work only with internal pointer.

show more ...


# 3167b49c 07-Apr-2014 Dmitry Stogov

Allocate HashTable->arData and HashTable->arHash at once


# 3485b114 07-Apr-2014 Dmitry Stogov

"incremental" hash bucket initialization


# 76cc99fe 03-Apr-2014 Dmitry Stogov

Refactored ZVAL flags usage to simplify various checks (e.g. Z_REFCOUNTED(), candidate for GC, etc)


# d8099d04 02-Apr-2014 Dmitry Stogov

Changed data layout to allow more efficient operations


Revision tags: php-5.4.27
# 60961bba 01-Apr-2014 Dmitry Stogov

Avoid useless memset()


# 042c937f 01-Apr-2014 Dmitry Stogov

Use STR_COPY() instead of STR_DUP() where possible


1...<<11121314151617181920