832 Commits (cc12acefcd4de93a2e8bcd0fe7dc2e000f14159d)

Author SHA1 Message Date
Dmitry Stogov cc12acefcd Use cheaper functions 8 years ago
Dmitry Stogov ccc12b82da Avoid unnecessary reference-counting on strings. 8 years ago
Xinchen Hui a8a17a72b0 RC manipulation cleanup 8 years ago
Sara Golemon bbf57b114f
Revert array_slice passthrough optimization 8 years ago
Sara Golemon cc96166f74
Don't optimize input arrays with suffix holes 8 years ago
Sara Golemon fabb5b7a74
array_slice() passthrough for preserve_keys=true as well 8 years ago
Sara Golemon e751e6ceba
Do not create a new array when slicing all of input array. 8 years ago
Dmitry Stogov 49ea143bbd Encapsulate reference-counting primitives. 8 years ago
Dmitry Stogov 9cf87aa196 Avoid HashTable allocations for empty arrays (using zend_empty_array). 8 years ago
Anatol Belski 793ca716fb Fix datatypes and compiler warnings 8 years ago
Dmitry Stogov 254b74b85f HASH_FLAG_PERSISTENT renamed into IS_ARRAY_PERSISTENT and moved into GC_FLAGS (to be consistent with IS_STR_PERSISTENT). 8 years ago
Dmitry Stogov cb9d81ef4f Refactored recursion pretection 8 years ago
tbpgr ba83338cbe Fix typo retuns to returns 8 years ago
Kalle Sommer Nielsen 4fbff82c10 Kill compiler warnings in ext/standard 8 years ago
Nikita Popov 6c2c7a023d Optimize array_unique() 9 years ago
Dmitry Stogov 5a51da9942 Use inlined version of zval_ptr_dtor() in array_map() loop 9 years ago
Tom Van Looy 04fb3f28ff Remove superfluous semicolons 9 years ago
Dmitry Stogov 9c2a1f52a5 Avoid useless dereferences and separations during paramter passing. 9 years ago
Dmitry Stogov ace9fe5317 Improved new Zend Parameter Parsing API to avoid useless dereferences. 9 years ago
Dmitry Stogov 27e7aea412 "Countable" interface is moved from SPL to Core 9 years ago
Dmitry Stogov a08723d3d3 Use interned empty and "one char" strings. 9 years ago
Dmitry Stogov 2649a9e1a9 Removed useless dereferences 9 years ago
Nikita Popov c8034514ed Fixed bug #74361 9 years ago
Thomas Punt 932c4b35dc Remove more unnecessary checks on Zend's allocator functions 9 years ago
Sara Golemon 131fd3baa0 Remove unnecesary shadow of new_val 9 years ago
Sara Golemon c74bc87c74 Minor optimizations to array_keys()/array_values() 9 years ago
Anatol Belski c698299550 Interned strings unification for TS/NTS 9 years ago
Levi Morrison b7552ff344 Remove trailing tabs 9 years ago
Dmitry Stogov 1f7bf2bfd6 Optimized extract(). Avoided double hash lookups and repeatable checks through loop splitting. 9 years ago
Sammy Kaye Powers dac6c639bb Update copyright headers to 2017 9 years ago
Sammy Kaye Powers 478f119ab9 Update copyright headers to 2017 9 years ago
Sammy Kaye Powers 9e29f841ce Update copyright headers to 2017 9 years ago
Sara Golemon 1b0edb3c6c Use new param API in standard/array 9 years ago
Anatol Belski b204b3abd1 further normalizations, uint vs uint32_t 9 years ago
Craig Duncan aaf7341b1c Add warnings when counting invalid parameters 9 years ago
Adam Saponara 55d17662cb Fix bug #71241: array_replace_recursive mutates ref params 9 years ago
Dmitry Stogov 9ded1b4edb Introduced HT_IS_PACKED() and HT_IS_WITHOUT_HOLES() macros. (Benjamin Coutu) 9 years ago
Andrea Faulds d690014bf3 Remove zpp fallback code (always use Fast ZPP) 9 years ago
Nikita Popov e0e5063173 Drop some pieces of commented-out code 9 years ago
Anatol Belski 1d64b4c71e avoid needless function call 9 years ago
Márcio Almada 00c2c3a476 fix unintentional bc break with compact('this') behavior 9 years ago
Kalle Sommer Nielsen 447e57a1e1 Fixed 7.1 build, decls first please! 9 years ago
Kalle Sommer Nielsen 1e4cae28b2 Seems like I did a bad merge earlier, this should make PHP-7.0 sync with 7.1/master properly now 9 years ago
Kalle Sommer Nielsen 9b783107e5 Fix build as done in master in commit 040331c364 9 years ago
Nikita Popov cf017ce17f Fix array_column() packed hash initialization 10 years ago
Xinchen Hui 6d1f473247 It's packed array 10 years ago
Xinchen Hui be00b4ed13 Optmized array_rand 10 years ago
Xinchen Hui 501d24f81b Optimized array_pad 10 years ago
Xinchen Hui 81a7d52814 Folder marks 10 years ago
Xinchen Hui 70f79fd8b6 Optimized array_merge and cleanup 10 years ago