mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This change introduces several functions for manipulating items in an array in an efficient (binary search) way. - `arraySplice` a faster version of `Array.splice()`. - `arrayInsert` a faster version of `Array.splice(index, 0, value)`. - `arrayInsert2` a faster version of `Array.splice(index, 0, value1, value2)`. - `arrayInsertSorted` a way to insert a value into sorted list. - `arrayRemoveSorted` a way to remove a value from a sorted list. - `arrayIndexOfSorted` a way to find a value in a sorted list. - `ArrayMap` Efficient implementation of `Map` as an `Array`. - `arrayMapSet`, `arrayMapGet`, `arrayMapIndexOf`, and `arrayMapDelete` for manipulating `ArrayMap`s. PR Close #34804 |
||
|---|---|---|
| .. | ||
| array_utils_spec.ts | ||
| decorators_spec.ts | ||
| global_spec.ts | ||
| lang_spec.ts | ||
| stringify_spec.ts | ||