summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2020-04-30 13:57:35 +0200
committerPhil Sutter <phil@nwl.cc>2020-05-04 16:21:24 +0200
commitf21e73d6700b873eb1a295f43bbad9caaca577e2 (patch)
treee22ce9086c01a9d58541e19037052aaf5338f2fa /tests
parenta2eedcc89d2ed40411c26d53579300c4f1ccb83d (diff)
segtree: Merge get_set_interval_find() and get_set_interval_end()
Both functions were very similar already. Under the assumption that they will always either see a range (or start of) that matches exactly or not at all, reduce complexity and make get_set_interval_find() accept NULL (left or) right values. This way it becomes a full replacement for get_set_interval_end(). Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions