Re: [Haskell-cafe] Haskell SQL backends: How is data handed over?

12 Aug
2022
12 Aug
'22
12:29 a.m.
@Olaf You mean that formatting a Scientific number as String is more efficient than formatting an Integer/Double in its usual representation? How about parsing?
I'm not going to defend the 'efficiency' of Haskell's String formatting/parsing, but ... What is your evidence that number/String is a concern here? It's all happening in-memory. Whereas sending whatever to SQL then needs putting it to disk, which is orders-of-magnitude slower. (Or is this an in-memory database?) This thread has already devoted more cycles to speculation than you're going to reclaim through number formatting, methinks.
1061
Age (days ago)
1061
Last active (days ago)
0 comments
1 participants
participants (1)
-
Anthony Clayden