I find it quite difficult to understand the Sage code so I can't really review the PR. I will say though that I think that this is an important change to make. Both SymPy and Sage reach deeply into mpmath's internals which means that mpmath itself is hamstrung when it comes to future improvements. It would be easy to bring significant improvements in performance for mpmath just by making use of python-flint if it was easier to rearrange mpmath's internal code without breaking SymPy and Sage.
I just removed one part of SymPy's usage of mpmath internals in: https://github.com/sympy/sympy/pull/26861 There is still plenty more to do though to reach the point where SymPy only uses mpmath's "public" interfaces though. -- Oscar On Sat, 27 Jul 2024 at 23:59, Matthias Koeppe <matthiaskoe...@gmail.com> wrote: > > https://github.com/sagemath/sage/pull/38113, needs review. > > -- > 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/5c89a51c-e54b-411a-b631-24be8ccd5df7n%40googlegroups.com. -- 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/CAHVvXxRvac6CAUjo_PswOxtpJV%3DkjgcudbJeTgx%2B%2BL6YdNjCTw%40mail.gmail.com.