[issue46705] Memory optimization for set.issubset
Raymond Hettinger
report at bugs.python.org
Thu Feb 10 00:19:06 EST 2022
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
We care more about the running speed than the memory usage. Since sets only store pointers to data, they are typically smaller than the data they refer to.
I've attached some instrumentation code for running experiments to verify the workload under various scenarios.
----------
Added file: https://bugs.python.org/file50613/instrument_issubset.py
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46705>
_______________________________________
More information about the Python-bugs-list
mailing list