29 ms·
The Rust people did, it then became a discussion about sufficiently smart compilers. I'd imagine from a compiler engineering standpoint, it't pretty hard to ma
by fulafel 10y ago
The Rust people did, it then became a discussion about sufficiently smart compilers.
I'd imagine from a compiler engineering standpoint, it't pretty hard to make this performance neutral. It makes all the artichmetic loops into non-leaf nodes in the call graph and so has second order effects in optimization passes.
- hinkley 10y agoIf your parameters have known ranges you could elide a lot of checks. You're not going to overflow multiplying an 8 bit number times a 16 bit number, for instance.