SuperString is an efficient string library for C++, that achieves a remarquable memory and CPU optimization.
SuperString uses Rope (data structure) and game theory techniques.
This two plots show the comparison between SuperString and std::string in term of memory consumption and number of executed instructions to perform the some task, split a text (209 Ko, 5000 lines, 209166 characters) into lines and push them into an std::vector.
- Fast and Memory-optimized.
- Automatically garabage collected.
- Support ASCII, UTF-8, UTF-16BE and UTF-32.
- Rich API.
- Easy to integrate and use.
- MIT Licence
- Optimize even more (I think it's possible 😎)
- Support for LE version of UTF-16 (UTF-16LE)
- Enrich test and benchmark case, compares with existing Rope and other libraries
- Test on Windows and other platforms
- Test on multithreaded environement
You have any feature idea, a bug to correct or an improvement, feel free to open a issue or send your pull request.
You can also support the author of SuperString via Patreon or Paypal.
MIT LICENCE