Closed sdroege closed 4 years ago
Instead generate the histogram energies/boundaries tables statically via a small application and include their values statically.
This has no measurable impact on performance.
Once f64::powf() becomes a const function we can get rid of this entirely and have it all generated at compile-time.
Alternative to https://github.com/sdroege/ebur128/pull/28
Instead generate the histogram energies/boundaries tables statically via a small application and include their values statically.
This has no measurable impact on performance.
Once f64::powf() becomes a const function we can get rid of this entirely and have it all generated at compile-time.
Alternative to https://github.com/sdroege/ebur128/pull/28