base16

Fast Haskell base16 encoding/decoding (docs.ppad.tech/base16).
git clone git://git.ppad.tech/base16.git
Log | Files | Refs | README | LICENSE

commit 9f35400ae9c71488d05a2b9d95847d068cdf3a64
parent 2b9113ae71752c0ba41c1cf30a694d3d36561e72
Author: Jared Tobin <jared@jtobin.io>
Date:   Sat, 10 Oct 2026 15:29:29 +0400

bench: decode hex input in base16 weigh case

The 'base16' reference decode case was fed the raw input rather than
its hex encoding, so it measured an immediate decoding failure.

Diffstat:
Mbench/Weight.hs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bench/Weight.hs b/bench/Weight.hs @@ -23,4 +23,4 @@ main = W.mainWith $ do W.func "ppad-base16 (decode)" B16.decode hinp W.func "base16-bytestring (decode)" R0.decode hinp - W.func "base16 (decode)" R1.decodeBase16Untyped inp + W.func "base16 (decode)" R1.decodeBase16Untyped hinp