You are viewing a single comment's thread. Return to all comments →
The initialization of Counter need to read the whole list. So it may not able to beat the simple iteration solution. Did you test it yet?
Seems like cookies are disabled on this browser, please enable them to open this website
Two Characters
You are viewing a single comment's thread. Return to all comments →
The initialization of Counter need to read the whole list. So it may not able to beat the simple iteration solution. Did you test it yet?