Serhiy Storchaka added the comment:

Are there any cases where the counter class with the C accelerator is faster 
than the pure Python version? Here is a benchmarking script (modification of 
Roy Smith's script [1]) and looks as the pure Python version is faster even for 
data that has not many unique entries.

[1] http://permalink.gmane.org/gmane.comp.python.general/738820

----------
Added file: http://bugs.python.org/file31085/counterbench.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18594>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to