Y
Hacker News
new
|
ask
|
show
|
jobs
by
orf
3585 days ago
Or just `names[name] += 1` if you're using a Counter.
1 comments
ferrari8608
3585 days ago
Which would of course be the optimal solution. I always forget about that object.
link