[pypy-issue] [issue763] set() uses 2x the memory as on CPython

Armin Rigo tracker at bugs.pypy.org
Sun Jun 26 10:58:40 CEST 2011


Armin Rigo <armin.rigo at gmail.com> added the comment:

No, your explanation is wrong.  It's implemented as a dict in the RPython level,
and the values are always None, which means that they are implemented as Void.

I don't know why they would consume more memory.  Do you have a benchmark
showing the problem?

----------
nosy: +arigo
status: unread -> chatting

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue763>
________________________________________


More information about the pypy-issue mailing list