Skip to content

Feat: ref struct Enumerable #2362

@Zetanova

Description

@Zetanova

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions