[ANN] bytestring-0.11.1.0

Andrew Lelechenko andrew.lelechenko at gmail.com
Tue Feb 16 18:30:43 UTC 2021


On behalf of maintainers I'm happy to announce that bytestring-0.11.1.0 (http://hackage.haskell.org/package/bytestring-0.11.1.0) is finally released.

Highlights from the changelog (https://github.com/haskell/bytestring/blob/0.11.1.0/Changelog.md):

* Performance improvements for
    * strict `map` (up to 30% faster),
    * strict `pack`, `words`, `intersperse`, `findIndex` and `findIndexEnd`,
    * lazy `takeWhile`, `dropWhile`, `break`, `group` and `groupBy`,
    * strict and lazy `stimes`.
* New functions:
    * `compareLength` to compare lengths lazily,
    * `packZipWith` to zip two `ByteString`,
    * `findIndexEnd` for `Char8` flavours of `ByteString`,
    * `elemIndexEnd` and `unzip` for `Data.ByteString.Lazy.Char8`,
    * `takeEnd` and `dropEnd` for strict `ByteString`.
* Improvements for `ShortByteString`
    * `SBS` constructor is now exposed directly from `Data.ByteString.Short`,
    * `fromShort` does not reallocate its argument, if it is already pinned.

Many people contributed their time and effort to make this release happen. Just to name a few in no particular order, mostly according to `git log`:

* Ben Gamari
* Callan McGill
* Dmitry Ivanov
* Eli Kogan-Wang
* gutjuri
* Jaro Reinders
* John Ericson
* Moritz Angermann
* Simon Jakobi
* Sylvain Henry
* Viktor Dukhovni
* Vincent Orr
* me

Here is an incantation for `stack` folks:

resolver: nightly-2021-02-12
packages:
- .
extra-deps:
- bytestring-0.11.0.0
- binary-0.8.8.0
- directory-1.3.6.1
- text-1.2.4.1
- unix-2.7.2.2
- process-1.6.11.0
allow-newer: true

Best regards,
Andrew


More information about the Libraries mailing list