Commit efa3edf
committed
Implement high-performance Raw API with safe wrapper
- Added `CSVParser.parse(data:body:)` for zero-copy parsing with memory safety
- Optimized parser with SIMD quoted field scanning and smart unescaping
- Added `Raw Parse` benchmarks showing 2.5x speedup
- Updated README with Raw API usage guide and benchmark results
- Added tests for safe parser wrapper1 parent 99ea911 commit efa3edf
4 files changed
Lines changed: 280 additions & 117 deletions
File tree
- Sources
- CSVCoderBenchmarks
- CSVCoder
- Tests/CSVCoderTests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
413 | 447 | | |
414 | 448 | | |
415 | 449 | | |
| |||
0 commit comments