by tehjoker · 5y ago · 0 comments
https://algorithmica.org/en/eytzinger
Funnily enough, the first example of a standard binary search contains the same overflow error.
eg Etyzinger is awesome, but in most real world usage something like this is far more practical and ultimately performant: Faster Lookups, Insertions, and In-Order Traversal Than a Red-Black or AVL Tree [0].
[0]: https://neosmart.net/blog/2019/sorted-list-vs-binary-search-...