Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fn {generate_grain_uv,fguv_32x32xn}_{rust,c_erased}
: Put `#[inline(…
…never)]` on the `fn *_c_erased`s, not the `fn *_rust`s (#561) The C `NOINLINE`s were originally on the `*_c` functions, which are called through `fn` ptrs and makes sense. The `fn *_rust`s are called only by the `fn *_c_erased`s, which are called through `fn` ptrs, so we were accidentally forcing an extra `fn` call due to mixing this up. I'm not sure if this noticeably hurt perf, but it's not what the C is doing and seems like it would hurt perf, so we should fix this.
- Loading branch information