taffy view exits with error message if a 0-length interval passed in (instead of crashing)
tai API returns empty iterator if input range not found in index (instead of returning NULL or, in the case of 0-len, crashing). tai_has_next() can check for empty iterator
This makes two changes:
taffy view
exits with error message if a 0-length interval passed in (instead of crashing)tai
API returns empty iterator if input range not found in index (instead of returningNULL
or, in the case of 0-len, crashing).tai_has_next()
can check for empty iterator