[Haskell-cafe] [ANNOUNCE] text 0.10.0.0 - fast Unicode text handling
Bryan O'Sullivan
bos at serpentine.com
Fri Oct 22 01:38:48 EDT 2010
[Blog copy of the announcement
here<http://www.serpentine.com/blog/2010/10/22/text-0-10-0-0-is-here/>
.]
I just pushed it to bitbucket <http://bitbucket.org/bos/text> and
github<http://github.com/bos/text>,
and you can install it from the text site on
Hackage<http://hackage.haskell.org/package/text> in
the usual way:
cabal update
cabal install text
What's in this release?
-
New functions for reading integers and floating point
numbers<http://hackage.haskell.org/packages/archive/text/0.10.0.0/doc/html/Data-Text-Read.html>,
an oft-requested feature. They're fast, too: they range from parity with
their bytestring counterparts, to up to 4 times faster. You can expect to
parse 3 to 4 million Int values per second out of a text file, or up 2
million Double values per second. They're also easy to use, give error
messages, and come in strict and lazy variants.
-
UTF-8 decoding and encoding are now very
fast<http://www.serpentine.com/blog/2010/10/15/unicode-text-performance-improvements/>.
They're up to 9x faster than they were, and close to the performance of pure
C UTF-8 decoding and encoding.
-
The Eq and Ord instances are also now very fast, up to 5x faster than
before<http://www.serpentine.com/blog/2010/10/19/a-brief-tale-of-faster-equality/>.
They're now faster than the bytestring instances.
-
Several other common functions received drive-by performance improvements
too.
-
Better protection against rare crashes on really huge volumes of data.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20101022/dd672139/attachment-0001.html
More information about the Haskell-Cafe
mailing list