On Tuesday, 20 December 2022 at 19:46:36 UTC, John Colvin wrote:
On Tuesday, 20 December 2022 at 00:40:07 UTC, H. S. Teoh wrote:
On Mon, Dec 19, 2022 at 04:16:57PM -0800, Walter Bright via
Digitalmars-d-announce wrote:
On 12/19/2022 4:35 AM, Adam D Ruppe wrote:
> On Monday, 19 December 2022 at 09:55:47 UTC, Walter Bright
> wrote:
> > Curious why CSV isn't in the list.
>
> Maybe std.csv is already good enough?
LOL, learn something every day! I've even written my own, but
it isn't very good.
There's also my little experimental csv parser that was
designed to be as fast as possible:
https://github.com/quickfur/fastcsv
However, it can only handle input that fits in memory (using
std.mmfile is one possible workaround), has a static limit on
field sizes, and does not do validation.
T
We use this at work with some light tweaks, it’s done a lot
work 🙂
It has already been replaced with
[mir.csv](https://github.com/libmir/mir-ion/blob/master/source/mir/csv.d). Mir is faster, SIMD accelerated, and supports numbers and timestamp recognition.