Is ETS table of type ordered_set able to do efficient range search with match spec?

ETS is not smart enough to utilize guards like Timestamp > Time1 to limit the search space. It will only utilize fully bound keys and partially bound keys in the head of the match spec as described at the bottom of this section:
https://www.erlang.org/doc/man/ets.html#table-traversal

See also this recent forum thread:

3 Likes