New submission from Jorge <[email protected]>: The attached file uses half a GiB of RAM to run in PyPy (2.0.2 and 1.9.0), but very little in CPython (~5 MiB), and it's also 2x slower.
Notice that the sequence argument in ifilter is important: the commented out line uses little memory, though it's still slower. ---------- files: test_case.py messages: 5887 nosy: jorge, pypy-issue priority: performance bug status: unread title: In some cases, `set(itertools.ifilter(...` takes more memory than in CPython ________________________________________ PyPy bug tracker <[email protected]> <https://bugs.pypy.org/issue1522> ________________________________________ _______________________________________________ pypy-issue mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-issue
