teds

pecl install teds

Provides extra data structures and iterable/array functionality.

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

Maintainer

  • Tyson Andre (lead )

Details

Stars: 28
Issue openned: 46
Downloads: 4225
0.12.0
2 years ago
Download DLL for processor with 64 bits architecture (x64)
PHP 8.1
Loading...
PHP 8.0
Loading...
Download DLL for processor with 32 bits architecture (x86)
PHP 8.1
Loading...
PHP 8.0
Loading...
Request a build
Request to the website owner's team the built this extension with this parameters. The result is not guaranteed and can be impossible for many reasons. The extension source code is frequently not upto date with the most recent PHP version.
If you have another code source for this extension, provide it in comment.
Please (or register) to request a build.
Version 0.12.0 change log


* Breaking changes.
* Fix serialization/unserialization in StableMinHeap/StableMaxHeap.
* Add interfaces for `Teds\Values` (e.g. Heap/Set), Teds\Collection(e.g. StrictMap, StableSortedMap), ListInterface(Vector, Deque, etc.) (the keyword list is reserved)
* Implement ->values() in classes implementing `Teds\Values`.
* Make offsetExists consistently return false when the value of the given key is null across all data structures.
* Add Teds\Collection->containsKey to return true if a key exists without coercing types, and returning true regardless of whether the corresponding key is null.
* Change signature of IntVector::set() and ::push() to match ListInterface
* Add Collection::toArray() (behaves like iterator_to_array).
* Check for exceeding 64-bit capacity limits in more collections to avoid hitting gc size limits
and to avoid unpredictable behavior (e.g. it'd be surprising to have this throw/fatal error only if var_export/var_dump/json_encode was called and PHP's array size limits(2147483648 elements, or at least 32GB) were hit).

requires:

  • php >=8.0.0
  • pearinstaller >=1.10