https://github.com/cad97/string-interner-comparison
https://github.com/cad97/string-interner-comparison
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/cad97/string-interner-comparison
- Owner: CAD97
- Created: 2020-07-13T19:26:10.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2021-10-27T10:58:30.000Z (over 4 years ago)
- Last Synced: 2025-03-25T04:51:20.745Z (over 1 year ago)
- Language: Rust
- Size: 15.6 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# string interner comparsion
Usage:
```
# To collect samples
cargo run -q -- sample --lib 2> events.ldjson
# To collect allocation event stats
cargo run -q -- report events.ldjson
# To plot allocation against words
py ./plot.py
# This will require editing the script to get ideal results.
# Requires numpy and matplotlib to be installed.
```
This is messy, hacky, exploratative code, published solely so others can reproduce measurement results.
## License
Licensed under any of
- [MIT](http://opensource.org/licenses/MIT),
- [APACHE-2.0](http://www.apache.org/licenses/LICENSE-2.0), or
- [UNLICENSE](https://choosealicense.com/licenses/unlicense/)
at your option.