[issue23290] Faster set copying
Raymond Hettinger
report at bugs.python.org
Tue May 12 21:13:53 CEST 2015
Raymond Hettinger added the comment:
I looked at the patch again and it is in pretty good shape.
Please hoist the conditionals out of the loop (for intelligibility and to let the compiler in-line more effectively). Also, let's remove the "dump" and "clear" variable names in favor of comments that explain the conditionals (to introducing new terminology to the module).
If you want, I'll take a crack at it in the next couple of days.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23290>
_______________________________________
More information about the Python-bugs-list
mailing list