CsvHelper icon indicating copy to clipboard operation
CsvHelper copied to clipboard

Feat: ref struct Enumerable

Open Zetanova opened this issue 5 months ago • 0 comments

A readonly ref struct could be used as the record type to utilize ReadOnlySpan<char> to map column values directly without copies.

If the encoding or escape requires a copy an internal buffer could be used to store the value.

The iterator could be simply provided by a ref struct CsvRecordEnumerable like it is done in ReadOnlySpanEnumerable

Zetanova avatar Oct 10 '25 10:10 Zetanova