4 ms·
I've been begging for years for a a [[must_vectorize]] annotation that I can place before a loop I care about, and turn it into a compile error if the compiler
by nananana9 3mo ago
I've been begging for years for a a [[must_vectorize]] annotation that I can place before a loop I care about, and turn it into a compile error if the compiler can't figure it out.
- dupontcyborg 3mo agothis would be amazing
- Rendello 2mo agoJust don't do it like Rust inlining annotations: <No annotation> – Gently suggests inlining #[inline] - Really suggests inlining #[inline(always)] – Really Really suggests inlining (still not guaranteed!) https://nnethercote.github.io/perf-book/inlining.html https://nnethercote.github.io/perf-book/inlining.html