1. Bryan O'Sullivan
  2. base16-bytestring

Source

base16-bytestring / Data / ByteString / Base16.hs

Author Commit Message Date Builds
Bryan O'Sullivan
Update addresses
Bryan O'Sullivan
Small tidyups.
Bryan O'Sullivan
Improve encoding performance by 50%. Our use of unsafeIndex was slow because we were deconstructing the PS constructor of "digits" on every iteration through the inner loop. Boo! By manually allocating a Ptr and marking it as strict, we can get GHC to hoist the case analysis of the Ptr constructor to the outside of the loop, and thereby win.
Bryan O'Sullivan
Add lazy encoding/decoding support. Improve docs.
Tags
0.1.1.0
Bryan O'Sullivan
Initial commit.
Tags
0.1.0.0