v0.39.4
Release 0.39.4 (2025-04-11)
Optimize integrate
- Replace the output signature of
gauss_legendre_table
andkronrod_table
to&'static [f64]
to avoid unnecessary allocations. - Hard code symmetry of weights and nodes into source code to avoid unnecessary allocations.
- New helper function -
compute_gauss_kronrod_sum_stored
- Reduce the number of function calls (G+K -> K)
- Change update method of subinterval tolerance (divide by 2 -> divide by sqrt(2))
- These changes improve the performance of
integrate
by 1.2x - 50x (to integrate highly oscillatory functions)
Update dependencies
- Update
rand
to0.9
- Update
rand_distr
to0.5
Full Changelog: v0.39.3...v0.39.4