5 unstable releases

✓ Uses Rust 2018 edition

new 0.4.0 Sep 10, 2019
0.3.1 Mar 12, 2019
0.3.0 Dec 26, 2018
0.2.0 Nov 7, 2018
0.1.0 Oct 30, 2018

#13 in Hardware support

Download history 382/week @ 2019-05-28 1202/week @ 2019-06-04 1225/week @ 2019-06-11 1351/week @ 2019-06-18 1099/week @ 2019-06-25 1098/week @ 2019-07-02 991/week @ 2019-07-09 1487/week @ 2019-07-16 992/week @ 2019-07-23 798/week @ 2019-07-30 2064/week @ 2019-08-06 1348/week @ 2019-08-13 2828/week @ 2019-08-20 1396/week @ 2019-08-27 1500/week @ 2019-09-03

5,934 downloads per month
Used in 19 crates (8 directly)

MIT license

21KB
441 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