News for hackers. Stuff that matters.
Re:Rust 1.47 by jsheard on Thursday October 08, 2020 @10:41AM (#24719478)
In many cases the functions being constified were already evaluated during compilation where possible though, the compile time cost was already sunk.

Making them const just formally guarantees the compiler can evaluate them at compile time which makes them useful in more contexts.

Re:Rust 1.47 by pjmlp on Thursday October 08, 2020 @11:20AM (#24719916)
"constexpr of all things" kind of proves the point in compile times, and so far Rust isn't fairing much better in that regard.