perf: optimize CSVRecordAssembler with single-loop array processing
Replace chained array methods with efficient single-loop implementation
to reduce array iterations from 3 passes to 1 pass.
Changes:
- RecordDelimiter handler: map().filter().map() ā single loop
- Empty line handler: filter().map() ā single loop
- Flush handler: map().filter().map() ā single loop
This optimization reduces CPU cycles during record assembly,
particularly beneficial for CSVs with many columns.
All 460 tests pass. Complements CSVLexer buffer pointer optimization.
š¤ Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>