Josh Rosenberg added the comment:

Is it worth the definition of tp_as_number and maintaining another method for a 
micro-optimization? Presumably every collection in Python would benefit 
slightly from this (say, defaultdict in the same file, list, tuple, etc.), but 
none of them bother. Why would deque be worth the optimization and not the more 
commonly used built-ins?

----------
nosy: +josh.r

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

Reply via email to