composewell / streamly

High performance, concurrent functional programming abstractions
https://streamly.composewell.com
Other
856 stars 64 forks source link

Improve the performance of mkDouble in double parser #2590

Open harendra-kumar opened 11 months ago

harendra-kumar commented 11 months ago

fromRational is very expensive, need to see if it can be improved: https://hackage.haskell.org/package/base-4.18.0.0/docs/src/GHC.Float.html#fromRat%27%27