Commit 0576ea10 authored by Leah Neukirchen's avatar Leah Neukirchen

replace use of <search.h> (tsearch etc.) with own tree implementation

tsearch(3) can be terribly inefficient on some systems, degrading to
linear search.  This AA-tree implementation is not measurably slower
than e.g. musl's AVL tree implementation.

Meanwhile, get rid of the silly tsearch API.
parent 8eb0b629
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment