slackbuilds/haskell/haskell-double-conversion
Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2021-07-17 21:55:09 +02:00
..
README haskell/haskell-double-conversion: Added (convert float/strings) 2021-02-07 01:39:52 +07:00
doinst.sh haskell/haskell-double-conversion: Added (convert float/strings) 2021-02-07 01:39:52 +07:00
haskell-double-conversion.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
haskell-double-conversion.info haskell/haskell-double-conversion: Added (convert float/strings) 2021-02-07 01:39:52 +07:00
slack-desc haskell/haskell-double-conversion: Added (convert float/strings) 2021-02-07 01:39:52 +07:00

README

A library that performs fast, accurate conversion between double
precision floating point and text.

This library is implemented as bindings to the C++ double-conversion
library written by Florian Loitsch at Google:
https://github.com/floitsch/double-conversion.

The Text versions of these functions are about 30 times faster than the
default show implementation for the Double type.

The ByteString versions are slower than the Text versions; roughly half
the speed. (This seems to be due to the cost of allocating ByteString
values via malloc.)

As a final note, be aware that the bytestring-show package is about 50%
slower than simply using show.