Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mdj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
mdj
14y ago
The OP's implementation wastes cycles in the n == 0 case because the statement `if (count == n)` is unnecessary.