Skip to content

refactor: optimize quote detection and writing - #75

Merged
nnnkkk7 merged 2 commits into
mainfrom
opt-perf
Feb 3, 2026
Merged

refactor: optimize quote detection and writing#75
nnnkkk7 merged 2 commits into
mainfrom
opt-perf

Conversation

@nnnkkk7

@nnnkkk7 nnnkkk7 commented Feb 3, 2026

Copy link
Copy Markdown
Owner
  • Introduced writerSIMDMinSize constant for minimum field size benefiting from SIMD.
  • Enhanced fieldNeedsQuotes and writeQuotedField methods to utilize optimized string search and SIMD for quote detection.
  • Improved writeQuotedFieldScalar to batch write content between quotes, reducing character-by-character writes.
  • Updated fieldNeedsQuotesSIMD to handle partial chunks efficiently with SIMD operations.

@nnnkkk7
nnnkkk7 merged commit 10094de into main Feb 3, 2026
2 checks passed
@nnnkkk7
nnnkkk7 deleted the opt-perf branch February 3, 2026 03:54
@github-actions github-actions Bot mentioned this pull request Feb 3, 2026
@github-actions github-actions Bot mentioned this pull request Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant