https://github.com/vorner/squash
Saving space on slices and small strings
https://github.com/vorner/squash
Last synced: 8 months ago
JSON representation
Saving space on slices and small strings
- Host: GitHub
- URL: https://github.com/vorner/squash
- Owner: vorner
- License: apache-2.0
- Created: 2020-12-27T18:31:01.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-28T17:05:46.000Z (over 5 years ago)
- Last Synced: 2025-01-31T12:06:32.420Z (over 1 year ago)
- Language: Rust
- Size: 33.2 KB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# Squash
[](https://github.com/vorner/squash/actions)
[](https://codecov.io/gh/vorner/squash)
[](https://docs.rs/squash)
More space-efficient way to encode owned slices and string slices on the heap
(single pointer on the stack + down to one byte to encode the length on the
heap).
Further details are in the [the documentation](https://docs.rs/squash).
## License
Licensed under either of
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.
### 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 above, without any additional terms
or conditions.