https://github.com/zyedidia/rope
A rope data structure implemented in Go
https://github.com/zyedidia/rope
Last synced: 9 months ago
JSON representation
A rope data structure implemented in Go
- Host: GitHub
- URL: https://github.com/zyedidia/rope
- Owner: zyedidia
- License: mit
- Created: 2021-01-12T02:13:03.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-16T20:52:19.000Z (over 4 years ago)
- Last Synced: 2025-03-27T14:49:18.437Z (10 months ago)
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rope
[](https://pkg.go.dev/github.com/zyedidia/rope)
An implementation of the Rope data structure, which is useful for storing large
arrays that are frequently mutated. The Rope is often used instead of a string
(array of characters), but can be used to replace any kind of array. This
implementation provides a Rope for arrays of bytes, but it should be easy to
modify it for other types of elements (this can be made generic in future
versions of Go).
See the Godoc for the available functions. Much of the implementation is based
on the Rope implementation [here](https://github.com/component/rope).