[libc-commits] [libc] [libc][stdlib] Optimize number of comparisons in heap_sort (PR #232602)

Kuan-Wei Chiu via libc-commits libc-commits at lists.llvm.org
Thu Oct 15 22:57:49 PDT 2026


visitorckw wrote:

This is basically the same optimization I tried upstreaming to glibc a few years ago:
https://inbox.sourceware.org/libc-alpha/20231202214839.2634493-1-visitorckw@gmail.com/

https://github.com/llvm/llvm-project/pull/232602


More information about the libc-commits mailing list