News for hackers. Stuff that matters.
Re:Time to retire the CSV? by veltas on Wednesday August 18, 2021 @04:57PM (#28227046)
>CSV is actually horrible at parse-time vs. other data formats

I find this really hard to believe given it's a simple enough syntax. And parsing is usually not the limiting factor, usually fast enough to not be noticed alongside interpreting or loading the source data. Every (much more sophisticated) compiler I can think of uses a linear parser based on this assumption.

Re:Time to retire the CSV? by mortehu on Wednesday August 18, 2021 @05:07PM (#28227171)
Just extracting string views can be fast, but converting numbers to and from text is very slow.
Re:Time to retire the CSV? by veltas on Thursday August 19, 2021 @08:10AM (#28232783)
But significant compared to time to load the source in the first place? Or any processing that will come after?
Re:Time to retire the CSV? by worik on Wednesday August 18, 2021 @09:29PM (#28229332)
It is a text format. So you will always have to do that conversion.

Binary formats have their own pain points - more of them actually