On Apr 6, 6:36 pm, Jaap Spies <[EMAIL PROTECTED]> wrote:
> In the notebook of sage-2.11:
>
> time plot(1.0 - x * floor(1/x), (x,0.00001,1.0)
>
> CPU time: 143.77 s, Wall time: 1660.39 s
>
> with a correct image.
>
> Maple is almost immediate.
>
> Even worse:
> time plot(1.0 - x * floor(1/x), (x, 0.0, 1.0), plot_points=1000)
>
> CPU time: 244.71 s, Wall time: 5155.23 s
>
> Thoughts? See trac ticket #2831
Hi Jaap,
The problem is that "floor(1/x)" calls maxima. If you drop it the
whole thing takes about a second.
> Jaap
Cheers,
Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---