Skip to content

rust-dev-tools/strings.rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Utility string data structures for Rust

Currently contains (more welcome):

  • Rope - an unbalanced rope - efficient append, insertion, and removal of substrings;
  • SrcRope - an unbalanced rope which allows for insertion etc. based on the original positions in the string as well as the current postitions;
  • StringBuffer - a String/linked list hybrid which is efficient for appending strings and iteration over characters from the start of the string.

All data structures are unicode (UTF8) based and interact as closely as possible with Rust strings.

TODO document char iterators

TODO

share code between rope and src_rope balanced rope

About

String data structures for Rust

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages