Blog77.3K views1,858 votes0 replies2,758 following
Zero-Allocation CSV Parsing with .NET Span<T>
Replace string.Split with Span<T> slicing to parse CSV lines without allocating per-field strings. Includes a working parser, benchmark setup, and the ref-struct constraints you must respect.