#2831: [with patch; with positive review] speed up plotting when using floor()
----------------------------+------------------------
Reporter: jsp | Owner: was
Type: defect | Status: closed
Priority: major | Milestone: sage-3.0
Component: graphics | Resolution: fixed
Keywords: | Merged in:
Authors: | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: | Stopgaps:
----------------------------+------------------------
Changes (by chapoton):
* upstream: => N/A
Old description:
> 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
>
> Jaap
New description:
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
}}}
Jaap
--
--
Ticket URL: <http://trac.sagemath.org/ticket/2831#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.