Re: Program slower on Pypy 7.3.3 (3.7.9) than CPython 3.9.

Carl Friedrich Bolz-Tereick <[email protected]>
Newsgroups gmane.comp.python.pypy
Message-ID <[email protected]>
Thanks Dan! It's definitely a real problem that you identified, I've filed a bug about it here: https://foss.heptapod.net/pypy/pypy/-/issues/3419

Thanks for the report! 

Carl Friedrich

On March 18, 2021 6:32:19 PM GMT+01:00, Dan Stromberg <[email protected]> wrote:
>Hi folks.
>
>I've modified my code to use str.startswith instead of re.match.  I had
>a
>one-to-one correspondence between filenames and regexes anyway, so it
>doesn't really sacrifice anything.
>
>This way the original app (music-pipeline) is nice and fast now on
>pypy3
>7.3.3.
>
>I'm leaving the various SSCCE's at
>https://stromberg.dnsalias.org/svn/regex-fodder/trunk in case someone
>wants
>to use them to replicate the problem going forward.  They're commented
>to
>describe what they do and whether they are fast or slow.  As Carl said,
>the
>issue seems to be that pypy3 7.3.3 doesn't like having very many
>regular
>expressions in the same program - even if only one compiled regex
>exists at
>any given time (no-longer-needed regexes disposed of with del).
>
>Thanks again!

_______________________________________________
pypy-dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.