9 unstable releases (4 breaking)

0.6.1 Aug 31, 2021
0.6.0 May 10, 2021
0.5.0 Jan 13, 2021
0.4.1 Oct 15, 2019
0.2.0 Nov 7, 2018

#15 in Value formatting

Download history 4500/week @ 2023-02-15 4716/week @ 2023-02-22 4344/week @ 2023-03-01 2986/week @ 2023-03-08 3019/week @ 2023-03-15 2959/week @ 2023-03-22 3018/week @ 2023-03-29 3270/week @ 2023-04-05 3065/week @ 2023-04-12 3511/week @ 2023-04-19 2908/week @ 2023-04-26 2612/week @ 2023-05-03 3139/week @ 2023-05-10 2978/week @ 2023-05-17 2865/week @ 2023-05-24 2849/week @ 2023-05-31

12,281 downloads per month
Used in 148 crates (52 directly)

MIT license

22KB
452 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

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.

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