Login  |  Packages  |  Support  |  Bugs
Top Level :: Structures :: teds :: 0.3.0

teds 0.3.0

Package Information
Summary teds extension
Maintainers Tyson Andre (lead) [details]
License BSD-3-Clause
Description teds (Tentative Extra Data Structures) is a collection of data structures and iterable functionality
Homepage https://github.com/TysonAndre/pecl-teds
Release notes
Version 0.3.0
(alpha)
* 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.

[ Latest Tarball ] [ Changelog ] [ View Statistics ]
[ Browse Source ] [ Package Bugs ]

Dependencies for release 0.3.0
PHP Version: PHP 8.0.0 or newer
PEAR Package: PEAR 1.10 or newer
PRIVACY POLICY  |  CREDITS
Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Jun 01 07:05:01 2020 UTC
Bandwidth and hardware provided by: pair Networks