Crates.io | an-rope |
lib.rs | an-rope |
version | 0.3.1 |
source | src |
created_at | 2016-12-29 17:21:35.200405 |
updated_at | 2017-02-10 17:49:05.556129 |
description | an rope for large text documents. |
homepage | https://github.com/hawkw/an-editor |
repository | https://github.com/hawkw/an-editor |
max_upload_size | |
id | 7843 |
size | 649,681 |
An immutable Rope data structure for storing large text documents. This implementation is a component of the an-editor
project.
A rope is an efficient data structure for large strings. It's essentially a binary tree whose leaves are strings.
For more information, see the following resources:
an-rope
is built against the latest stable, beta, and nightly Rust releases, on macOS and Ubuntu. Some features rely on nightly Rust, and may not be available on other release channels.
tendril
: use the tendril
library to optimise performance for small strings.rebalance
: enable Rope rebalancing.atomic
: ensure Ropes are thread-safe (use Arc
or atomic tendril
s)unstable
: enable nightly Rust features. pass this flag if building on nightly Rust.