Hi, I think both the links are pointing to the same patch, which I've
been working on recently--thanks for taking a look!  To get the patch
from trac to work, I think you need to use mercurial; there are some
instructions in the sage developer guide, but in case you don't feel
like going through all that I've put the two files online at

http://www.math.uga.edu/~njohnson/sage-code/multi_power_series_ring.py

and

http://www.math.uga.edu/~njohnson/sage-code/multi_power_series_ring_element.py

It should work to just read them into a sage session, but let me know
if you have trouble.  The times for your code look great!  If I
understand correctly, the left column is from the trac patch, the
middle is your code in python, and the right is your code modified to
run in sage.  I suspect that if you run all the tests on the same
machine, the timings for your code will look even better, but maybe
you could let us know if that's not the case.  Could your code extend
to work over other base rings?

For those interested, the email link from Mario's first post contains
timing comparisons between the trac patch and magma, with the general
conclusion that the trac patch performs better than Magma in several
cases, especially when the total degree is larger than a few hundred.

-Niles

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to