RED HAT
RED HAT
DIIDevHeads IoT Integration Server
Created by Marvee Amasi on 7/4/2024 in #middleware-and-os
Optimizing a bubble sort implementation in C for an x86-64 architecture
@Marvee Amasi The -O3 flag can sometimes result in larger binary sizes, which might not fit well in the CPU cache, leading to slower performance and the -O3 might inline functions more aggressively, which can sometimes degrade performance if the inline functions are large or if they lead to increased instruction cache misses.
13 replies