nsv 0.0.4

NSV (Newline-Separated Values) format parser and encoder
Documentation

NSV (Newline-Separated Values) format implementation for Rust

Fast parallel implementation using rayon and memchr. See https://nsv-format.org for the specification.

Parallel Parsing Strategy

For files larger than 64KB, we use a parallel approach:

  1. Find all row boundaries (positions of \n\n) using memchr's SIMD-optimized search
  2. Split the input into row slices
  3. Parse each row in parallel using rayon
  4. Each row is split on \n and cells are unescaped

For smaller files, we use a sequential fast path to avoid thread overhead.