Dear all,

Some strange phenomenon makes execution of PARI/GP up to twice slower
when ran inside a Python process compared to its execution in GP.
Though this is not systematic, in a fresh python environment timing
are comparable with GP.

The slowdown has been first observed in the context of pari_jupyter
[1] and then with cypari2 when sage.all is loaded [2]. There is a
short code snippet in the description of [2] that you can try on your
own sage version (must be ran with "sage -python" and not "sage").

Any idea on what could be the source of the slowdown or some profiling
advices would be very welcome.

[1] https://github.com/sagemath/pari-jupyter/issues/27
[2] https://trac.sagemath.org/ticket/34850

Best
Vincent

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAGEwAAm_%2BVfg%3D6po8-7B4eb7kW2UT%3DHjvXaR7yfUOxL930HhQQ%40mail.gmail.com.

Reply via email to