[Haskell-cafe] ANN: bytestring-lexing 0.4.3

wren ng thornton wren at freegeek.org
Fri Mar 22 04:50:47 CET 2013


--------------------------------------------
-- bytestring-lexing 0.4.3
--------------------------------------------

The bytestring-lexing package offers efficient reading and packing of
common types like Double and Integral types.


--------------------------------------------
-- Changes (since 0.4.2)
--------------------------------------------

* Fixed a segfault bug in packDecimal.

Due to the optimizations introduced in 0.4.2, packDecimal could segfault
when passed a value larger than (maxBound::Word64). This patch corrects
the oversight, and is a recommended upgrade for all users.

Unfortunately, the safety test results in a 1.19x slowdown over version
0.4.2; reducing the 1.28x speedup for 0.4.0-->0.4.2 to a mere 1.08x for
0.4.0-->0.4.3. Future versions will probably introduce a type class to
remove the safety check for types where it must vacuously succeed.


--------------------------------------------
-- Links
--------------------------------------------

Homepage:
    http://code.haskell.org/~wren/

Hackage:
    http://hackage.haskell.org/package/bytestring-lexing

Darcs:
    http://community.haskell.org/~wren/bytestring-lexing

Haddock (Darcs version):
    http://community.haskell.org/~wren/bytestring-lexing/dist/doc/html/bytestring-lexing

-- 
Live well,
~wren




More information about the Haskell-Cafe mailing list