[PR][php-src][#970][master] - zend_array and HashTable refactoring

From: Date: Thu, 12 Feb 2015 15:02:51 +0000
Subject: [PR][php-src][#970][master] - zend_array and HashTable refactoring
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-2308@lists.php.net to get a copy of this message
You can view the Pull Request on github: https://github.com/php/php-src/pull/970 Pull Request Description: The patch is huge but the really important changes are in zend_types.h only (the rest is the reflection). - zend_array and HashTable structures now are the same (actually this means that each HashTable got 64-bit zend_refcounted header) - all HashTables became reference-counted (engine initializes GC_REFCONT(ht) to 1 in zend_hash_init()) - HashTable.arData and HahsTable.arHash are substituted by single HashTable.pData. The old arData and arHash ara availavle through HT_HASH() and HT_DATA() macros. The new data layout explained in comments in zend_types.h - HashTable.u.flags moved into GC_FLAGS(ht). They shoud be accessed using HT_FLAGS() macro. - zend_uchar HashTable.u.v.nApplyCount moved into uint32_t HashTable.nApplyCount - HashTable fields layout is changed for better cach line reuse

« previous php.git-pulls (#2308) next »