Skip to content

v0.4.1

Latest

Choose a tag to compare

@fcarvajalbrown fcarvajalbrown released this 03 Jul 01:41
· 7 commits to main since this release

Segovia v0.4.1 — the auto batch default is now memory-safe.

Highlights

  • The default (auto) batch width in reader.preprocess(...) is capped at min(logical_threads, 4). Peak resident memory for the default path is now bounded to ~1.2 GB on any machine, instead of scaling to ~3-6 GB on many-core hosts where the previous one-slab-per-thread default could OOM low-RAM machines. Callers passing an explicit batch >= 1 are unaffected. Shipped to both pip install segovia and cargo add segovia. (ADR 0018)

Validation

  • Full CI green: fmt + clippy + test, plus the wheel matrix across macOS, Ubuntu, and Windows. The footprint model ~0.17 GB x batch + ~0.5 GB was confirmed file-size-independent at the full 55.8-minute scale (ADR 0017).

Still open

  • This is a safety guard, not a tuned throughput optimum; the best auto-default value stays open and a future release may refine it. No new features in this patch (the causal filter mode and parallelized mtscomp decode remain future work).

Full Changelog: v0.4.0...v0.4.1