Overview of Sep CSV Parser
mainSep is a high-performance, zero-allocation .NET library for reading and writing separated values (CSV, TSV, etc.). It is designed for modern .NET (7+) and C# (11+) environments, specifically targeting machine learning use cases where speed and memory efficiency are critical.
Key features include:
- High Performance: Uses SIMD vectorization (AVX2, AVX-512, NEON) and
csFastFloatfor rapid parsing. - Zero Allocation: Intelligent memory management allows for zero allocations after warmup.
- Modern .NET: Built using
Span<T>,ref struct,ArrayPool<T>, and Generic Math (ISpanParsable<T>). - Concurrency: Supports highly efficient parallel parsing and
ValueTask-based async/await support (requires C# 13.0+). - Compatibility: Fully trimmable and AOT/NativeAOT compatible with no reflection or dynamic code generation.