teeworlds icon indicating copy to clipboard operation
teeworlds copied to clipboard

Refactor CHuffman

Open Robyt3 opened this issue 3 years ago • 0 comments

Most notably, replace bubble sort with std::stable_sort for a 2x speedup of huffman tree construction. Reduces client startup time by around 1ms! 🚀🎉

Robyt3 avatar Apr 01 '22 18:04 Robyt3