[pypy-dev] Is PyPy appropriate for Django?
angelflow at yahoo.com
Thu Aug 25 17:13:48 CEST 2011
Yes it is the regular expression module. Great to know that it'll be faster in PyPy.
A large part of my application is creating and manipulating objects using Django's ORM and other modules. Would PyPy speed that up too? Or are those objects too short-lived (they only live within a request-response cycle) for JIT to be useful?
From: Armin Rigo <arigo at tunes.org>
To: Andy <angelflow at yahoo.com>
Cc: "pypy-dev at python.org" <pypy-dev at python.org>
Sent: Thursday, August 25, 2011 4:22 AM
Subject: Re: [pypy-dev] Is PyPy appropriate for Django?
On Wed, Aug 24, 2011 at 11:26 PM, Andy <angelflow at yahoo.com> wrote:
> 1) For URL routing Django uses the re module, which is a C extension. Would
> JIT work with that?
Is this "re" the regular expression module? If so, it's a standard
library module, so PyPy provides one too, rewritten in RPython. In
fact it is expected to be much faster than CPython's in the long run,
because regular expressions also use the JIT to compile regular
expression objects (which are originally some kind of bytecode).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pypy-dev