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.3.0
2 years ago
Download DLL for processor with 64 bits architecture (x64)
PHP 8.0
Loading...
Download DLL for processor with 32 bits architecture (x86)
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.3.0 change log


* Backwards incompatible change: Change `Vector::indexOf` return type from `int|false` to `?int` (and all other `indexOf*` methods in other data structures)
* Backwards incompatible change: Change `valueAt`/`setValueAt` to get/set in Deque, Vector, and ImmutableSequence
* Add optional parameter `$value = null` to `Vector::setSize()` to allow overriding the value used for padding when lengthening an array.
* Change exception handling for sizes/capacities that are definitely too large to allocate.
* Make Vector::push() variadic and accept 0 or more arguments, like `array_push` does.
* Reclaim unused memory in Deque when roughly a quarter or less of the internal buffer is used.
* Optimize performance of Deque, always use powers of 2 for the capacity of Deque to speed up reads/writes.

requires:

  • php >=8.0.0
  • pearinstaller >=1.10