Better HN
top
new
best
ask
show
jobs
Log in
Sign up
mdj
1 karma · joined Aug 2, 2012 (14y ago) · 1 submissions
Submissions
comment 14y ago ·
link
·
parent
The OP's implementation wastes cycles in the n == 0 case because the statement `if (count == n)` is unnecessary.