History log of /PHP-8.0/Zend/zend_hash.c (Results 51 – 75 of 440)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.1.18, php-7.2.6, php-7.2.6RC1, php-7.1.18RC1
# a48ade17 08-May-2018 Xinchen Hui

Cleanup


# a0e4488e 07-May-2018 Dmitry Stogov

Optimize zend_hash_find() for the most usual case


# 34ed8e53 03-May-2018 Dmitry Stogov

Changed worst HashTable load factor from 1.0 to 0.5


Revision tags: php-5.6.36, php-7.2.5, php-7.1.17, php-7.0.30, php-7.1.17RC1, php-7.2.5RC1
# dc091870 02-Apr-2018 Dmitry Stogov

Prefer reloading key->h


Revision tags: php-5.6.35, php-7.0.29, php-7.2.4, php-7.1.16
# a795bd82 22-Mar-2018 Dmitry Stogov

Optimize zend_hash_real_init()


# 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 ...


12345678910>>...18