History log of /PHP-7.3/Zend/zend_hash.c (Results 26 – 50 of 410)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 8598240c 22-Mar-2018 Dmitry Stogov

Fixed a behavior break introduced by d7f2dc4ec651628e10213625db6aee3559e214a9


# d7f2dc4e 21-Mar-2018 Dmitry Stogov

Improve HashTable iterators handling:
- Avoid iterators check/update on each HashTable update opration
- Keep position equal (or above) nNumUsed instead of HT_INVALID_IDX
- Fixed iterator

Improve HashTable iterators handling:
- Avoid iterators check/update on each HashTable update opration
- Keep position equal (or above) nNumUsed instead of HT_INVALID_IDX
- Fixed iterators handling in array_unshift()

show more ...


# feb22b24 21-Mar-2018 Dmitry Stogov

Micro optimization


# 28ab2060 21-Mar-2018 Dmitry Stogov

Micro optimization


Revision tags: php-7.1.16RC1, php-7.2.4RC1
# b711a96a 05-Mar-2018 Dmitry Stogov

Don't keep HashTable.pDestructor in SHM and always set it into ZVAL_PTR_DTOR in zval_array_dup().
Keeping pointer to a function in SHM is not safe because of ASLR.


Revision tags: php-7.1.15, php-5.6.34, php-7.2.3, php-7.0.28
# baa98901 26-Feb-2018 Dmitry Stogov

Completely hide GC implementation details into zend_gc.c


Revision tags: php-7.2.3RC1, php-7.1.15RC1
# 9794272f 12-Feb-2018 Dmitry Stogov

Micro optimization


Revision tags: php-7.1.14, php-7.2.2
# 6fb5568b 22-Jan-2018 Dmitry Stogov

Merge HashTable.u.v.consistency into HashTable.u.v.flags


# 6634d5e3 22-Jan-2018 Dmitry Stogov

Use HT_FLAGS() macro


# ebf900a9 22-Jan-2018 Dmitry Stogov

Introduce mcros to access HashTable iterators counter


# 9cbb5210 22-Jan-2018 Dmitry Stogov

Access HashTable.u.flags through HT_FLAGS() macro.


Revision tags: php-7.1.14RC1, php-7.2.2RC1, php-7.1.13, php-5.6.33, php-7.2.1, php-7.0.27
# a6519d05 02-Jan-2018 Xinchen Hui

year++


# 7a7ec01a 02-Jan-2018 Xinchen Hui

year++


# ccd4716e 02-Jan-2018 Xinchen Hui

year++


# 72ec23d8 13-Dec-2017 Li-Wen Hsu

Fix bug #75677: Drop fastcall attribute on variadic function

Fastcall generally doesn't make sense on variadic functions. For
clang in particular this eliminates a "fastcall calling conv

Fix bug #75677: Drop fastcall attribute on variadic function

Fastcall generally doesn't make sense on variadic functions. For
clang in particular this eliminates a "fastcall calling convention
ignored on variadic function" warning.

show more ...


Revision tags: php-7.2.1RC1, php-7.1.13RC1, php-7.0.27RC1
# 74c84cd7 04-Dec-2017 Dmitry Stogov

Use zend_string_equal*() API for zend_string equality check instead of direct memcmp() usage.


Revision tags: php-7.2.0
# ec2dde0c 24-Nov-2017 Dmitry Stogov

Introduced zend_hash_find_ex() that may avoid unnecessary hash value check.


# ed7f3967 24-Nov-2017 Dmitry Stogov

Avoid second hash value check


Revision tags: php-7.1.12, php-7.0.26, php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1
# 6de54703 31-Oct-2017 Dmitry Stogov

Improved zend_hash_str_add/update functions


# 49ea143b 26-Oct-2017 Dmitry Stogov

Encapsulate reference-counting primitives.
Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead.
Added mactros to validate reference-count

Encapsulate reference-counting primitives.
Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead.
Added mactros to validate reference-counting (disabled for now).
These macros are going to be used to eliminate race-condintions during reference-counting on data shared between threads.

show more ...


Revision tags: php-7.1.11, php-5.6.32, php-7.2.0RC5
# 9cf87aa1 24-Oct-2017 Dmitry Stogov

Avoid HashTable allocations for empty arrays (using zend_empty_array).


Revision tags: php-7.0.25, php-7.1.11RC1, php-7.2.0RC4, php-7.0.25RC1
# f18638ca 06-Oct-2017 Dmitry Stogov

Fixed incorrect recursion detection


# 254b74b8 05-Oct-2017 Dmitry Stogov

HASH_FLAG_PERSISTENT renamed into IS_ARRAY_PERSISTENT and moved into GC_FLAGS (to be consistent with IS_STR_PERSISTENT).


# cb9d81ef 05-Oct-2017 Dmitry Stogov

Refactored recursion pretection


Revision tags: php-7.1.10, php-7.2.0RC3, php-7.0.24
# 44e0b79a 19-Sep-2017 Dmitry Stogov

Refactored array creation API. array_init() and array_init_size() are converted into macros calling zend_new_array(). They are not functions anymore and don't return any values.


12345678910>>...17