[libc-commits] [libc] [libc][tsearch] add weak AVL tree for tsearch implementation (PR #172411)

Fangrui Song via libc-commits libc-commits at lists.llvm.org
Fri Jan 16 09:49:41 PST 2026


MaskRay wrote:

Yes, the 2-bit approach (Store two bits representing the rank differences to each child) has slightly smaller code size and has a performance advantage (due to accessing fewer nodes when walking bottom-up).

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


More information about the libc-commits mailing list