# faster-hex
[![License]](#license)
[![crate-badge]](https://crates.io/crates/faster-hex)
[crate-badge]: https://img.shields.io/crates/v/faster-hex.svg
[license]: https://img.shields.io/badge/License-MIT-green.svg
This program implements hex encoding a slice into a predetermined
destination using various different instruction sets.
## Benchmark
### Running
Runs benchmark
```
cargo bench
```
### Results
Machine: MacBook Pro (Early 2015) (2.7 GHz Intel Core i5)
Rust: rustc 1.31.0 (abe02cefd 2018-12-04)
Compare with [hex](https://crates.io/crates/hex):
* Encoding ~10x over
* Decoding ~10x over
Compare with [rustc-hex](https://crates.io/crates/rustc-hex):
* Encoding ~2.5x over
* Decoding ~7x over
## Notice
Major version zero (0.y.z) is for initial development. Anything MAY change at any time. The public API SHOULD NOT be considered stable.
MINOR version when make incompatible API changes before 1.0.0.
## License
This project is licensed under the [MIT license](LICENSE).
### Third party software
This product includes copies and modifications of software developed by third parties:
* [src/encode.rs](src/encode.rs) is based on
[stdsimd](https://github.com/rust-lang-nursery/stdsimd), licensed
under the MIT license or the Apache License (Version 2.0).
See the source code files for more details.
Copies of third party licenses can be found in [LICENSE-THIRD-PARTY](LICENSE-THIRD-PARTY).