Re:Bubble sort slower with -O3 than -O2 with GCC
by userbinator on Sunday October 17, 2021 @03:45PM
(#28899183)
My experience with MSVC and ICC is similar - O3 is often worse than O2, and a lot of the time Os is actually the fastest (and smallest).
[ Parent
| on HN ]
Re:Bubble sort slower with -O3 than -O2 with GCC
by StephanTLavavej on Sunday October 17, 2021 @05:15PM
(#28899866)
MSVC has /O1 and /O2 (and /Os), but not /O3. See https://docs.microsoft.com/en-us/cpp/build/reference/compile... . (I work on MSVC's STL.)