Antoine Pitrou added the comment: Note that the resizing heuristic is slightly different for sets and dicts, so a small-to-middle-size dict can sometimesbe smaller than a set of the same len().
However, for large dicts (>= 50000) it seems the corresponding set is most always 66% smaller. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19187> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com