[issue16832] Expose cache validity checking support in ABCMeta
Nick Coghlan
report at bugs.python.org
Sat May 25 19:13:29 CEST 2013
Nick Coghlan added the comment:
Trading correctness for speed is almost never a good idea. If people are worried about speed to that level, they can either bypass the public API and access the private attribute directly (after profiling their application to ensure the cache validity checks are the bottleneck), or else migrate to PyPy to eliminate the function call overhead (amongst many other speed improvements).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16832>
_______________________________________
More information about the Python-bugs-list
mailing list