Speeding internal GMP calls
librik@panix.com
librik@panix.com
Sat, 30 Nov 2002 12:46:56 -0500 (EST)
Torbjorn Granlund writes:
> Anybody want to work in improving the GMP build system to
> get rid of the stubs?
Are you suggesting a change that would make it impossible
for external applications to call internal GMP functions?
If the stubs are eliminated from the shared library binary,
then the corresponding functions won't be callable.
This would make it difficult for application developers
to extend GMP with new functions in their own applications --
say, a prototype faster mpn divide. Such functions would
have to be added to the GMP library itself, producing a
specialized version of GMP, packaged with the application,
without the cross-platform advantages of GMP.
Or are you simply suggesting that function calls *internal
to the GMP library* avoid using the stubs, but that the
stubs would still be there for external applications to
call? I think this would be preferable.
- David Librik
librik@panix.com