Skip to content

v0.7.1

Latest

Choose a tag to compare

@imewei imewei released this 29 Mar 02:58
· 3 commits to main since this release

Patch release with performance improvements, bug fixes, and code cleanup.

Fixed

  • deploydocs repo URL and canonical link now match actual GitHub repo name
  • Race condition in clear_caches! where frozen flag was cleared before dicts were emptied
  • @debug keyword args use lazy closures to avoid eager evaluation when logging disabled

Performance

  • Lock-free frozen cache reads after batch validation (~10% hot-path speedup)
  • issorted guard avoids redundant sort allocation in batch path
  • Eliminated redundant Vector{XRayResult} copy in batch return
  • Single-material allocations reduced 19% (23.5KB → 19.1KB)

Changed

  • Extracted _compute_derived_quantities for readability
  • Named unit-conversion constants replace magic numbers
  • Removed 3 untested deprecated internal wrappers and redundant format script
  • 419 tests

Full Changelog: v0.7.0...v0.7.1

Docs: https://imewei.github.io/XRayLabTool/stable/