History log of /php-src/Zend/zend_hash.c (Results 101 – 125 of 496)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 909f943f 30-Jul-2018 Dmitry Stogov

Loop optimization

Revision tags: php-5.6.37, php-7.1.20, php-7.3.0alpha4, php-7.0.31, php-7.2.8, php-7.1.20RC1, php-7.2.8RC1, php-7.3.0alpha3
# 8d3f8ca1 03-Jul-2018 Peter Kokot

Remove unused Git attributes ident

The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
use

Remove unused Git attributes ident

The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.

In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.

This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.

show more ...

# ebd1f5af 23-Jul-2018 Dmitry Stogov

API cleanup.
Removed useless filename and lineno arguments, used in DEBUG build.
The patch doesn't break source compatibility of public API (only binary compatibility).

# 3b6e1ee4 17-Jul-2018 Dmitry Stogov

Improved "Fast Shutdown".

Revision tags: php-7.3.0alpha2, php-7.1.19, php-7.2.7, php-7.1.19RC1, php-7.3.0alpha1, php-7.2.7RC1
# 0b90cf85 01-Jun-2018 Dmitry Stogov

Removed "dead" code (zend_hash_update() never fails)

# 0d72bb8f 30-May-2018 Dmitry Stogov

Optimize zend_new_array() for special case, when size <= HT_MIN_SIZE

# 37069d7d 28-May-2018 Dmitry Stogov

Replace unused generic zend_hash_*add_or_update() functions by compact implmentations.

# f4b7239c 28-May-2018 Dmitry Stogov

_zend_hash_index_add_or_update_i() optimization

# 5eb1f92f 28-May-2018 Dmitry Stogov

Use zend_string_release_ex() instread of zend_string_release() in places, where we sure about string persistence.

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
# 47f5f878 05-Mar-2018 Dmitry Stogov

Merge branch 'PHP-7.2'

* PHP-7.2:
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 bec

Merge branch 'PHP-7.2'

* PHP-7.2:
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.

show more ...


# b48d2f6d 05-Mar-2018 Dmitry Stogov

Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
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

Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
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.

show more ...


# 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

12345678910>>...20