Skip to content

v0.4.3

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 21 Aug 01:32
f172183

Added

  • Implement interpn_alloc function for each method, which allocates a Vec for the output
  • Add test of linear methods using hat function to check grid cell alignment

Changed

  • Use recursive method to evaluate multilinear interpolation instead of hypercube method
    • This makes extrapolation cost consistent with interpolation cost, and reduces nominal perf scaling
    • Shows about 2x slower perf in micro-benchmarks, but about 2x faster in end-to-end benchmarks after the Python bindings
      • Need to improve benchmarking strategy to better capture perf in real-life usage
  • Reduce repeated documentation
  • Remove some inlining annotations and all instances of #[inline(always)]
    • Minimal effect on performance; provides more flexibility to downstream applications, especially opt-level=s builds