On Fri, Aug 13, 2010 at 12:33 PM, Gabriel Dos Reis <gdr@cs.tamu.edu> wrote:
 2. GMP offers low-level mpn_xxx functions that could be used to
    initialize mpz objects from fixnum values.  That would avoid
    the unstructured code you are alluding to.  Is that something
    you would contemplate?

I do not plan to switch libraries right now, but I have to think carefully how to abstract this interface and ensure that it remains compatible with MPIR -- which is the library Sage uses and which ECL must remain compatible with.

Juanjo

--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com