Counting number of each item in a list.
bdesth.quelquechose at free.quelquepart.fr
Mon Mar 20 00:24:59 CET 2006
Paul Rubin a écrit :
> Bruno Desthuilliers <bdesth.quelquechose at free.quelquepart.fr> writes:
>>And of course, I was right. My solution seems to be faster than Paul's
>>one (but slower than bearophile's), be it on small, medium or large
>>nb: A is mine, B is Paul's and C is bearophile's, and the number after
>>is the size of the list...
> Interesting. I wonder if you could try it with a much larger number
> of distinct values in the list.
Please do, this could be interesting...
More information about the Python-list