<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Armin,</span></div><div><span><br></span></div><div><span>Yes it is the regular expression module. Great to know that it'll be faster in PyPy.</span></div><div><span><br></span></div><div><span>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?</span></div><div><br></div><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Armin Rigo &lt;arigo@tunes.org&gt;<br><b><span style="font-weight: bold;">To:</span></b> Andy
 &lt;angelflow@yahoo.com&gt;<br><b><span style="font-weight: bold;">Cc:</span></b> "pypy-dev@python.org" &lt;pypy-dev@python.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, August 25, 2011 4:22 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [pypy-dev] Is PyPy appropriate for Django?<br></font><br>Hi Andy,<br><br>On Wed, Aug 24, 2011 at 11:26 PM, Andy &lt;<a ymailto="mailto:angelflow@yahoo.com" href="mailto:angelflow@yahoo.com">angelflow@yahoo.com</a>&gt; wrote:<br>&gt; 1) For URL routing&nbsp;Django uses the re module, which is a C extension. Would<br>&gt; JIT work with that?<br><br>Is this "re" the regular expression module?&nbsp; If so, it's a standard<br>library module, so PyPy provides one too, rewritten in RPython.&nbsp; In<br>fact it is expected to be much faster than CPython's in the long run,<br>because regular expressions also use the JIT to compile regular<br>expression objects (which are originally
 some kind of bytecode).<br><br><br>A bientôt,<br><br>Armin.<br><br><br></div></div></div></body></html>