[issue6690] BUILD_SET followed by COMPARE_OP (in) can be optimized if all items are consts

Alex report at bugs.python.org
Tue Jan 12 20:39:15 CET 2010


Alex <alex.gaynor at gmail.com> added the comment:

David, I think it should use frozen set since doing it this way could actually increase the time the operation takes (which is certainly not our goal!).  Plus marshall.c already handles frozenset, so I don't think it's that much more work.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6690>
_______________________________________


More information about the Python-bugs-list mailing list