5 ms·
>> bubble sort in a production game engine to keep transparent objects mostly sorted. A single pass of bubble sort per frame is often enough to keep things in
by phkahler 3y ago
>> bubble sort in a production game engine to keep transparent objects mostly sorted.
A single pass of bubble sort per frame is often enough to keep things in order. And if something glitches because it takes 2 passes it's just a single frame glitch!