Armin,
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 <ar...@tunes.org>
To: Andy <angelf...@yahoo.com>
Cc: "pypy-dev@python.org" <pypy-dev@python.org>
Sent: Thursday, August 25, 2011 4:22 AM
Subject: Re: [pypy-dev] Is PyPy appropriate for Django?
Hi Andy,
On Wed, Aug 24, 2011 at 11:26 PM, Andy <angelf...@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).
A bientôt,
Armin.
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev