Zach Brown a45661e5b6 Add _prev version of treap lookup and iteration
_lookup() and _lookup_next() each had nearly identical loops that took a
dirty boolean.  We combine them into one walker with flags for dirty and
next and add a prev prev as well, giving us all the exported functions
with combinations of the flags.

We also add _last() to match _first() and _prev() to match _next().

Signed-off-by: Zach Brown <zab@versity.com>
2017-04-18 13:44:53 -07:00
Description
No description provided
8 MiB
Languages
C 87%
Shell 9.3%
Roff 2.5%
TeX 0.8%
Makefile 0.4%