Re: Program slower on Pypy 7.3.3 (3.7.9) than CPython 3.9.
Dan Stromberg <[email protected]>
| Newsgroups | gmane.comp.python.pypy |
|---|---|
| Message-ID | <CAGGBd_rP-QQjJGyNxcyFAh0mcC4+JnwLr=4TaM5EUNkLK8+n2w@mail.gmail.com> |
I put a small SSCCE for this at https://stromberg.dnsalias.org/svn/regex-fodder/trunk It's almost 10x slower, not quite as much as music-pipeline. On Mon, Mar 15, 2021 at 3:17 PM Dan Stromberg <[email protected]> wrote: > > And it's opensource, though many of the inputs are licensed. > > The code is at https://stromberg.dnsalias.org/~strombrg/music-pipeline/ ( > https://stromberg.dnsalias.org/svn/music-pipeline/trunk/) > > It appears to be more than 10x slower. > > I haven't profiled it yet. I believe it's probably the "Blocklisting > files..." part that's slow. That part is O(n*m), and seems to take > forever. It's heavy on regular expressions. > > Are regular expressions expected to be slow on Pypy3? > > Thanks. > _______________________________________________ pypy-dev mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-dev