regex is much slower in pypy than cpython

Li Li via pypy-dev <[email protected]> Wed, 3 Sep 2025 10:16:52 +0800
Newsgroups gmane.comp.python.pypy
Message-ID <CAFAd71VSer5OrkYhvrW-iENv8k22Ck4TdBp0FvpnFfb8DPSeUA@mail.gmail.com>
--===============2032165807569369151==
Content-Type: multipart/alternative; boundary="000000000000552cfa063ddc33ea"

--000000000000552cfa063ddc33ea
Content-Type: text/plain; charset="UTF-8"

I want to use pypy to speed up my application, it's fast for standard
library such as dict/list. I need to use a third party library regex(
https://pypi.org/project/regex/). pypy is much slower with this library.
for full codes, see https://github.com/mrabarnett/mrab-regex/issues/586

--000000000000552cfa063ddc33ea
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I want to use pypy to speed up my application, it&#39;s fa=
st for standard library such as dict/list. I need to use a third party libr=
ary regex(<a href=3D"https://pypi.org/project/regex/">https://pypi.org/proj=
ect/regex/</a>). pypy is much slower with this library.<div>for full codes,=
 see=C2=A0<a href=3D"https://github.com/mrabarnett/mrab-regex/issues/586">h=
ttps://github.com/mrabarnett/mrab-regex/issues/586</a></div></div>

--000000000000552cfa063ddc33ea--

--===============2032165807569369151==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
pypy-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/pypy-dev.python.org
Member address: [email protected]

--===============2032165807569369151==--