Y
Hacker News
new
|
ask
|
show
|
jobs
by
nrdvana
584 days ago
O(n) is generally indistinguishable from O(log n) so if there is
any
chance of different behavior than the expected optimum, go with the better algorithm.