String Interner

| Continuous Integration | Test Coverage | Documentation | Crates.io | |:----------------------:|:--------------------:|:----------------:|:--------------------:| | travisCI | codecov | docs | crates |

A data structure to cache strings efficiently, with minimal memory footprint and the ability to assicate the interned strings with unique symbols. These symbols allow for constant time comparisons and look-ups to the underlying interned string contents. Also, iterating through the interned strings is cache efficient.

Contributing

Testing

Test the project using cargo test --release

Memory Allocation Tests

To further test memory consumption and allocatios performed by the different string interner backends test the project as follows: cargo test --release --features test-allocations -- --test-threads 1

Profiling & Benchmarks

Benchmark the string interner and its various backends using cargo bench

License

Licensed under either of

at your option.

Dual licence: badge badge

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as below, without any additional terms or conditions.