0
0
Fork 0
mirror of https://git.code.sf.net/p/quake/quakeforge synced 2025-03-02 15:22:11 +00:00
Commit graph

1 commit

Author SHA1 Message Date
Bill Currie
bcc5686606 [util] Add fuzzy and reentrant bsearch
Fuzzy bsearch is useful for finding an entry in a prefix sum array
(value is >= ele[0], < ele[1]), and the reentrant version is good when
data needs to be passed to the compare function. Adapted from the code
used in pr_resolve.
2021-06-01 18:53:53 +09:00