Hello,

On Mon, Dec 22, 2008 at 6:10 AM, M. Yurko <myu...@gmail.com> wrote:
>
> Thanks for your help. I tried your first and last suggestions, but
> they yielded code that was slower than the original python
> implementation. However, I'll take a look at sage.rings.real_mpfr and
> try to use mpfr directly.

Well, If I were to guess, it's probably because of the way the Cython
code is written.  Often when it is slower.that the Python, it means
that Cython is doing a lot of conversions behind the scene.  If you
were to post the code somewhere, I'm sure someone could take a look at
it and let you know.  Also the annotated version obtained by "cython
-a" is useful in tracking these things down.

--Mike

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

Reply via email to