I have turned some codes that I have from PARI/GP into SAGE script but
I find that they are order of magnitude slower than the original
codes. Both types of codes are complied (i.e. I have .run in PARI and
spyx files for SAGE) and running on the same machine.

I am sure that's because I don't know enough of SAGE/Python to make
them fast (e.g. log(RDF(2)) seems to be faster than log(float(2))). In
general, if I want to do some simply arithmetic operations fast,
what's the way to go with SAGE? Is sage.ext.arith the module that I
should use?

I couldn't find help on using fast_arith  from the SAGE documentation
so any examples and pointers are appreciated.
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to