[issue18594] C accelerator for collections.Counter is slow
Stefan Behnel
report at bugs.python.org
Tue Oct 1 10:53:23 CEST 2013
Stefan Behnel added the comment:
Can you update the benchmark numbers to show what the difference is compared to pure Python (and to the fastpath) now?
One more thing: the fastpath depends on .__getitem__() and friends, whereas the fallback path depends on .get(). What if someone overrides .get() but not .__getitem__()? (Might be a hypothetical case...)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18594>
_______________________________________
More information about the Python-bugs-list
mailing list