binary v0.8.3.0 Release Notes
Release Date: 2016-04-19 // almost 8 years ago-
- ๐ Replace binary's home grown
Builder
withData.ByteString.Builder
.Data.Binary.Builder
now exportsData.ByteString.Builder.Builder
. - โ Add
putList :: [a] -> Put
to theBinary
class. This is used to be able to use the list writing primitives of the new Builder. This brought a number of speedups; Encoding a String is now 70% faster. [Word8] is 76% faster, which also makes Integer 34% faster. Similar numbers for all [IntXX] and [WordXX]. - Fail gracefully within
Get
when decodingBool
andOrdering
. Previously when decoding invalid data these instances would fail witherror
. - โ Add Binary instance for
Complex a
. - โ Add Monoid and Semigroup instance for
Put
.
- ๐ Replace binary's home grown