[email protected] (Ludovic Courtès) writes:

> Mark H Weaver <[email protected]> skribis:
>
>> Cojocaru Alexandru <[email protected]> writes:
>>> what about using the gcd module from gnulib?
>>> See: https://www.gnu.org/software/gnulib/MODULES.html#module=gcd
>>
>> That module is under the GPLv3+, and we must keep Guile under LGPLv3+.
>
> Gnulib modules can be relicensed when a GNU project demands it.  So if
> there’s a technical or maintenance gain, we could ask for it.  WDYT?

There are other problems besides the license.  It would have to be
customized to use a different integer type (scm_t_inum).  I'd want to be
able to #include it directly into numbers.c as a static function to
avoid a slow function call through the shared-library PLT.  Also, it's
not particularly well optimized.  It lacks the nice tricks that Niels
recently told me about that are used in GMP.

If these issues were addressed, I'd be open to using it, but for such a
small function, it hardly seems worth the hassle.

   Regards,
     Mark



Reply via email to