5 unstable releases

✓ Uses Rust 2018 edition

0.3.1 Mar 12, 2019
0.3.0 Dec 26, 2018
0.2.0 Nov 7, 2018
0.1.1 Dec 7, 2018
0.1.0 Oct 30, 2018

#56 in Hardware support

Download history 234/week @ 2019-01-20 87/week @ 2019-01-27 63/week @ 2019-02-03 56/week @ 2019-02-10 62/week @ 2019-02-17 76/week @ 2019-02-24 124/week @ 2019-03-03 186/week @ 2019-03-10 108/week @ 2019-03-17 267/week @ 2019-03-24 234/week @ 2019-03-31 290/week @ 2019-04-07 243/week @ 2019-04-14 228/week @ 2019-04-21 371/week @ 2019-04-28

703 downloads per month
Used in 6 crates (3 directly)

MIT license

21KB
439 lines

faster-hex

License crate-badge

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:

  • Encoding ~10x over
  • Decoding ~10x over

Compare with rustc-hex:

  • Encoding ~2.5x over
  • Decoding ~7x over

License

This project is licensed under the MIT license.

Third party software

This product includes copies and modifications of software developed by third parties:

  • src/encode.rs is based on 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.

No runtime deps