#15226: cython interface for libgiac: giacpy
-------------------------------------------------+-------------------------
Reporter: Han Frederic | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: sage-6.3
Component: interfaces | Resolution:
Keywords: giac, cython, interface | Merged in:
Authors: Frederic Han | Reviewers:
Report Upstream: Reported upstream. No | Work issues:
feedback yet. | Commit:
Branch: | Stopgaps:
Dependencies: |
-------------------------------------------------+-------------------------
Comment (by Han Frederic):
Hi all, I am starting the comments, there something curious I remember,
one coercion is much slowler than the other one (it is not the case in
pure python).
{{{
from sage.libs.giac import *
a=libgiac(2)
sage: time l=[ a+1 for i in range(10**5)]
CPU times: user 0.20 s, sys: 0.00 s, total: 0.20 s
Wall time: 0.19 s
sage: time l=[ 1+a for i in range(10**5)]
CPU times: user 1.04 s, sys: 0.00 s, total: 1.04 s
Wall time: 1.03 s
}}}
any idea?
--
Ticket URL: <http://trac.sagemath.org/ticket/15226#comment:6>
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.