[pypy-issue] Issue #2581: heapq.merge is slow in pypy3 (pypy/pypy)

Matteo Dell'Amico issues-reply at bitbucket.org
Sat Jun 17 12:46:24 EDT 2017


New issue 2581: heapq.merge is slow in pypy3
https://bitbucket.org/pypy/pypy/issues/2581/heapqmerge-is-slow-in-pypy3

Matteo Dell'Amico:

heapq.merge runs definitely slower in pypy3 than in python3. This script:

```
#!python
import heapq
data = [range(10000) for _ in range(100)]
list(heapq.merge(*data))
```

runs on my machine on around 1.2s on pypy3 and 0.6s on python3.

Antonio is a friend of mine and asked me to report this :)




More information about the pypy-issue mailing list