On Thursday, May 2, 2024 at 12:37:44 AM UTC+9 Nils Bruin wrote:
Working on *why* it might be so slow a bit: %prun for i in range(100r): f(0.1) 798103 function calls (791903 primitive calls) in 1.327 seconds Impressive. Thanks. so, most stuff is happening in maxima and in _subs_, and somehow random elements of an intervalfield are needed ... I don't think the design was primarily focused on numerical evaluation speed but rather on having symbolic piecewise functions. I wonder if they, maintainers of maxima, would regard this as a bug... -- 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/4cc8f012-c573-4e4e-917d-afb231fbdc8dn%40googlegroups.com.