Raymond Hettinger <raymond.hettin...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue46705> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com