Dear, On Mon, 20 Jul 2020 at 21:42, Jakub Kądziołka <k...@kadziolka.net> wrote:
> ~$ genv --pure --ad-hoc pypy3 python-sympy python -- pypy3 > Python 3.6.9 (?, Jan 01 1970, 00:00:00) > [PyPy 7.3.1 with GCC 7.5.0] on linux > Type "help", "copyright", "credits" or "license" for more information. >>>>> import sympy >>>>> sympy.isprime(694201337) > True > Does it work in all situations? Other said, the package python-sympy is “compiled” with CPython and then used with pypy. Moreover, CPython and PyPy are not the same VM, so not the same optimizations and therefore I am not sure that the performances of your trick vs an hypothetical pypy-sympy would be the same. All the best, simon