4 ms·
To be fair it is possible that the developer enabled a special "unroll all loops, no matter what" optimisation flag during compilation. I agree it would be stu
by selcuka 4mo ago
To be fair it is possible that the developer enabled a special "unroll all loops, no matter what" optimisation flag during compilation.
I agree it would be stupid for a compiler to even support such a flag, but those were the 1980s/90s.
- cyberax 4mo agoAhh... Good old funrollloops... https://www.shlomifish.org/humour/by-others/funroll-loops/Gentoo-is-Rice.html https://www.shlomifish.org/humour/by-others/funroll-loops/Ge...
- PhilipRoman 4mo agoRight up there with fun, safe math optimizations
- account42 4mo agoAt least these actually make things faster usually.
- deleted 4mo ago[deleted]
- lozf 4mo agoHeh, "funrollloops" reminds me of recompiling FreeBSD 4 on my thinkpad back in the early aughts. The word made me imagine some sort of processed breakfast cereal with too many additives.
- ack_complete 4mo agoDoesn't require any special flags, just hitting optimizer limits can do it with MSVC. https://www.reddit.com/r/cpp/comments/1i36ahd/is_this_an_msvc_bug_or_am_i_doing_something_wrong/ https://www.reddit.com/r/cpp/comments/1i36ahd/is_this_an_msv...