[pypy-dev] PyPy-JIT memory usage compared to CPython?

Andy angelflow at yahoo.com
Tue Nov 30 10:58:13 CET 2010

Can you explain a bit about what did you mean by "program contains mainly instances"? And what is __slots__?


--- On Mon, 11/29/10, Armin Rigo <arigo at tunes.org> wrote:

> From: Armin Rigo <arigo at tunes.org>
> Subject: Re: [pypy-dev] PyPy-JIT memory usage compared to CPython?
> To: "Andy" <angelflow at yahoo.com>
> Cc: pypy-dev at codespeak.net
> Date: Monday, November 29, 2010, 5:32 AM
> Hi,
> On Sat, Nov 27, 2010 at 12:03 AM, Andy <angelflow at yahoo.com>
> wrote:
> > I'm particularly interested in the memory usage of
> PyPy-JIT vs. CPython when running Django. In general would
> PyPy-JIT increase or decrease memory usage?
> It depends on the kind of application.  PyPy with a
> JIT may get to
> 1.5x or 2x more than CPython, but it may also be smaller
> than CPython
> if your program contains mainly instances and you didn't
> feel like
> carefully putting __slots__ everywhere.
> A bientôt,
> Armin.


More information about the Pypy-dev mailing list