Skip to content

CSV Read/Write: improved memory consumption with ReadOnlySpan<char> #17

@jochenwezel

Description

@jochenwezel

Starting with .NET 9, there might be additional overloads available to solve/improve memory cunsumption:

"In der IO.File-Klasse können Entwicklerinnen und Entwickler nun direkt mit WriteAllText() Zeichenketten in Form von ReadOnlySpan persistieren.
Analog gibt es bei WriteAllBytes() eine neue Überladung für Bytefolgen, die als ReadOnlySpan vorliegen."
https://www.heise.de/blog/Neu-in-NET-9-0-20-Erweiterte-Nutzung-von-System-ReadOnlySpan-T-10377811.html#:~:text=In%20der%20IO,ReadOnlySpan%3Cbyte%3E%20vorliegen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions