double-conversion icon indicating copy to clipboard operation
double-conversion copied to clipboard

expose functions from string→double?

Open unhammer opened this issue 2 years ago • 1 comments

IIUC, this only exposes functions from doubles to strings, not the other way around, but https://github.com/google/double-conversion/blob/master/double-conversion/string-to-double.h has functions from string-to-double – would it make sense to include both directions?

The default read is pretty slow on doubles; there is bytestring-lexing which is faster than default, but I'm guessing double-conversion could be even faster – or perhaps fast_float would be a better option?

unhammer avatar Nov 07 '22 11:11 unhammer

Thanks, @unhammer for pointing this out. I will think about it and maybe try to make performance tests.

Haskell-mouse avatar Dec 05 '22 21:12 Haskell-mouse