Y
Hacker News
new
|
ask
|
show
|
jobs
by
Cakez0r
1938 days ago
It's not a premature optimisation to use a hashset instead of a list though!
1 comments
ufo
1938 days ago
The bug is more devious than that. The code looks linear at a glance and the culprit is that sscanf is actually O(N) on the length of the string. How many people would expect that?
link