finger-tree
finger-tree copied to clipboard
:cactus: Finger tree data structure for JavaScript
The goal is to take care of #120 and #108.
This branch implements the new tests, benchmarks, and profiling loops required by #108 and #120.
Plan: - [x] Benchmark current implementations of `from`, `prepend`, and `append`. - [ ] Implement `_from_array` similar to `_from_small_list` but recurse when `array.length >= 12`. - [x] Implement `_from_iterable` as...
we have to decide whether we keep lazy evaluation for digit measures
And add `.ltr` alias for `[Symbol.iterator]` and `.rtl` be the current implementation of reversed.