forked from haskell/bytestring
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up Data.ByteString.Short.unpack (haskell#526)
* Add benchmarks for pack/unpack (ShortByteString) * Add benchmarks for lazy folds * Improve performance of pack/unpack/folds in ShortByteString * Use `GHC.Exts.build (unpackFoldr sbs)` for unpack and fix laziness * Don't inline 'break' with zero arguments Co-authored-by: Matthew Craven <[email protected]> Co-authored-by: Matthew Craven <[email protected]>
- Loading branch information
Showing
2 changed files
with
59 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters