teds

Provides extra data structures and iterable/array functionality.


teds (Tentative Extra Data Structures) is a collection of data structures and iterable functionality

License: BSD-3-Clause

Latest releases

Version Release Download
1.3.0 2022-11-10 teds-1.3.0.tgz
1.2.8 2022-10-27 teds-1.2.8.tgz
1.2.7 2022-10-22 teds-1.2.7.tgz
1.2.6 2022-10-10 teds-1.2.6.tgz
1.2.5 2022-10-10 teds-1.2.5.tgz
Show all releases

Changelog

Version Message
1.3.0 * Optimize Teds\Deque insert() and offsetUnset() calls with offsets when they're closer
to the front of the deque than the end of the Deque.
* Add Teds\strict_equals($v1, $v2): bool with stricter NAN handling than `===`.
* Regenerate function arginfo with namespaced C symbols from stub.php files.
1.2.8 * Same as 1.2.7 other than the version and tests folder.
* Update expected test output of the unit test tests/misc/strict_hash_array_recursion_32bit.phpt
1.2.7 * Fix an edge case in Teds\strict_hash for arrays with reference cycles.
'$x === $y' should now always imply that Teds\strict_hash($x) === Teds\strict_hash($y)
1.2.6 * Fix a build warning in clang for placeholders indicating that a data structure was constructed/unserialized.
* Fix a build warning after change to expected return type of `count_elements` object handler implementation.
1.2.5 * Reduce memory usage by refactoring the way properties/fields of data structures are returned, for var_export/var_dump/debug_zval_dump/array type casts/serialize.
In php 8.3+, this should reduce the impact of calling var_export/var_dump/debug_zval_dump on memory usage, and avoid the side effect of keeping around references to fields after those calls..
In all php versions, consistently return temporary arrays for remaining data structures in serialize() and array type casts that will be freed after being used.
Show complete changelog