Open parsonsmatt opened 6 years ago
Chronos is interesting! Do you think the overall gain would be significant, in the context of the whole processing of a result?
That's the important question :) I'll have to write a benchmark for it! Someone on FPChat mentioned that parsing UTCTime out of a database query was taking 20% of the runtime of his app, which got me on this chase.
cf https://github.com/andrewthad/chronos/pull/18#issuecomment-399156964
Currently
mysql-simple
usesparseTime
to parse the time. Using a custom attoparsec parser would make things faster and more memory efficient.