in reply to hashing intervals

Untested: Tie::RefHash with Set::IntSpan object keys?