Gropes is an implementatation of the rope data structure in Gleam.
This is a mainly a learning exercise, i found the rope data structure to be a simple project to learn the basics of Gleam. This means the support for this project may be limited, but I hope that it will be useful to someone.
- Implement the rope data structure and its basic operations
-
from_string
-
concat
-
value
-
length
-
slice
-
at_index
-
insert
-
rebalance
-
- [-] Benchmark the implementation against the standard library String
- Compare different rebalancing strategies
- Determine whether Ropes are worth the effort in a language without manual memory management
- Optionally: Create a cool 🤩 visualization of the performance of different rebalancing strategies