Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

With subtraction, you can say [0, 256) except [4, 9, 15, 26]. You can do that just by narrowing a single range.

But then, its kinda hard to optimise such a split range in the general case. The narrowing option gives you 80% (maybe more) of the performance at 20% (probably even less) of the cost.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: