Building a Hypercube Interpolator (in Rust)
jlogan.dev·3h·
Discuss: Hacker News
Flag this post

InterpN is a low-latency numerical interpolation library for realtime and bare-metal embedded systems, written in Rust. It remains the first and only of its kind in this domain.

Because of the performance constraints of a bare-metal target, InterpN has achieved excellent application-level throughput and found use in scientific computing via the Rust crate and Python bindings.

Results

InterpN achieves up to 200x speedup over the state of the art (Scipy) for N-dimensional interpolation.

Similar speedups are obtained for large batch inputs, with more modest (about 10x) speedups for cubic methods.

These benchmarks graciously exclude the cost of initialization of Scip…

Similar Posts

Loading similar posts...