Extending MySQL with VillageSQL
(news.ycombinator.com)
1.
2.
You can beat the binary search
(news.ycombinator.com)