SaaSHub helps you find the best software and product alternatives Learn more →
Ropey Alternatives
Similar projects and alternatives to ropey
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
Rope-Data-Structure-C
Implementation of a data structure that can store a string and efficiently cut a part (a substring) of this string and insert it in a different position
ropey reviews and mentions
-
Text Editor: Data Structures
> The worst way to store and manipulate text is to use an array.
Claim made from theoretical considerations, without any actual reference to real-world editors. The popular Micro[1] text editor uses a simple line array[2], and performs fantastically well on real-world editing tasks.
Meanwhile, ropes are so complicated that even high-quality implementations have extremely subtle bugs[3] that can lead to state or content corruption.
Which data structure is "best" is not just a function of its asymptotic performance. Practical considerations are equally important (arguably more so).
[1] https://github.com/zyedidia/micro
[2] https://github.com/zyedidia/micro/blob/master/internal/buffe...
[3] https://github.com/cessen/ropey/pull/67
-
What's is a rusty way to implement sharable trees?
This is pretty much how copy-on-write ropes work. Check out xi-rope, Ropey or crop, they're all built using B-trees and implement the behavior you described.
-
Is there any data type that's suitable for heavy string modifications? using String is super slow
This seems promising, though there doesn't seem to be replace function but there is an example: https://github.com/cessen/ropey/blob/d9c841b2ef4ae7ea97c13a99fc26b36ae14ebe12/examples/search_and_replace.rs
-
Text editing crate
xi is somewhat of an over-engineered mess (also according to the author themselves), I've found https://github.com/cessen/ropey to be an all round amazing alternative
-
A note from our sponsor - SaaSHub
www.saashub.com | 6 May 2024
Stats
cessen/ropey is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of ropey is Rust.
Popular Comparisons
Sponsored