Persistent rope-like indexed sequence backed by an implicit-index weight-balanced tree.
Persistent rope-like indexed sequence backed by an implicit-index weight-balanced tree.
(rope-chunk-count v)Number of internal chunks. O(1).
Number of internal chunks. O(1).
(rope-chunks-reverse v)Reverse seq of internal chunk vectors.
Reverse seq of internal chunk vectors.
(rope-concat x)(rope-concat left right)(rope-concat left right & more)Concatenate ropes or rope-coercible collections. One argument: returns it as a rope. Two arguments: O(log n) binary tree join. Three or more: O(total chunks) bulk construction.
Concatenate ropes or rope-coercible collections. One argument: returns it as a rope. Two arguments: O(log n) binary tree join. Three or more: O(total chunks) bulk construction.
(rope-concat-all & xs)Bulk concatenation of rope values or rope-coercible collections. Collects all chunks and builds the tree directly in O(total chunks), avoiding pairwise tree operations.
Bulk concatenation of rope values or rope-coercible collections. Collects all chunks and builds the tree directly in O(total chunks), avoiding pairwise tree operations.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |