Repository navigation
0.3.0
[0.3.0] - 2026-01-19
Added
PERFORMANCE.mddocumenting detection accuracy, known limitations, and workarounds
Changed
- Applied select Clippy suggestions for cleaner code
Fixed
- Non-deterministic benchmark results caused by HashMap iteration order in modal
field count calculation. Tie-breaking is now deterministic (prefers higher field count).
Performance
- Cache pattern categories via LazyLock (eliminates ~25,500 Vec allocs/sniff)
- Pre-compute quote counts once for all dialect evaluations (eliminates 26 scans)
- Use Cow for line normalization (zero-copy for LF-terminated files)
- Cache modal field count in Table struct (eliminates HashMap allocs)
- Return best table from scoring to avoid redundant parsing (saves 2 parses)
- Fix O(n²) preamble detection with suffix count precomputation
Results are now deterministic (v0.2.x had non-deterministic tie-breaking).
| Dataset | v0.2.x* | v0.3.0 | Change |
|---|---|---|---|
| POLLOCK | 95.95% | 96.62% | +0.67% |
| W3C-CSVW | 94.12% | 93.21% | -0.91% |
| CSV Wrangling | 91.06% | 91.06% | — |
| CSV Wrangling CODEC | 90.85% | 90.85% | — |
| CSV Wrangling MESSY | 89.68% | 89.68% | — |
*v0.2.x results varied between runs due to non-deterministic HashMap iteration
Full Changelog: v0.2.1...v0.3.0