3 ms·
We can compare them! https://godbolt.org/z/-Fzuqs https://godbolt.org/z/-Fzuqs (My screen is small so it's tough for me to read these results, to be honest...)
by steveklabnik 7y ago
We can compare them! https://godbolt.org/z/-Fzuqs https://godbolt.org/z/-Fzuqs
(My screen is small so it's tough for me to read these results, to be honest...)
- edflsafoiewq 7y agoI believe that is the IR after the optimizer has chewed through it.
- steveklabnik 7y agoOh duh. Should be obvious that you can drop the -O flags, at least.
- edflsafoiewq 7y agoYes, which gives about 40 lines of IR for C, and about 1300 for Rust (Godbolt truncates it at 500).