On Mon, Aug 17, 2009 at 12:20 PM, Bill Hart<goodwillh...@googlemail.com> wrote: > So it seems Lisp is actually a bit mpz_add heavy. I'd write to the > authors and complain about that.
Sorry to sound rude, but I am afraid you have no idea what you are talking about. Common Lisp does not support destructive operations on integer numbers. Therefore ECL can not use anything other than mpz_add to perform additions of what in the Common Lisp speak are called bignums. And just for once and so that you understand it: ECL has life outside Sage, even though we really want to support this project and its relatives, OpenAxiom, Fricas and Maxima. As for the switch to MPIR, I already said that ECL can be linked with any library that is compatible with GMP. The fact that we ship GMP with ECL is just a mere convenience to the users and it is not in my priority list _right now_ to spend time on code reorganization. Finally, I do not know what is all the fuzz about mpz_add occurrences vs line number counts. You people seem to be missing the point of what is optimizable and what is not. Did anybody care to profile what is being used and how it impacts performance? Juanjo -- Instituto de FĂsica Fundamental, CSIC c/ Serrano, 113b, Madrid 28006 (Spain) http://juanjose.garciaripoll.googlepages.com --~--~---------~--~----~------------~-------~--~----~ 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 URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---