On 12/02/2015 06:26 AM, Timon Gehr wrote:
The linear search can have way better locality, so it is likely that actually the binary search dominates for some data sets.
Galloping search ftw (good locality, log complexity). -- Andrei
Andrei Alexandrescu via Digitalmars-d Wed, 02 Dec 2015 08:07:18 -0800
On 12/02/2015 06:26 AM, Timon Gehr wrote:
The linear search can have way better locality, so it is likely that actually the binary search dominates for some data sets.
Galloping search ftw (good locality, log complexity). -- Andrei