News for hackers. Stuff that matters.
Re:Binary Search: A new implementation that is up to 25% faster by diehunde on Sunday July 19, 2020 @11:06PM (#23894327)
I've seen most real-world applications that use in-memory search, use balanced binary search trees. Are any of these improvements applicable to those data structures? AVL and Red-black trees come to mind.
Re:Binary Search: A new implementation that is up to 25% faster by adrianN on Monday July 20, 2020 @12:20AM (#23894623)
AVL and Red-black trees are pretty terrible and can easily be improved upon by cache-friendlier data structures like for example B-trees.