[In response to discussion from Kostas and Steve]
I am a fan of the external C-calling interface and want to improve and
promote it,
but I imagine that a good part of
the speed gain from MP would be lost translating between formats if one were
to
do this externally. The maximum speed and transparency for the proposed
feature
would be gotten by modifying the T_Lrgint blocks to hold MP-native values.
Such an effort
would turn out to be a fairly big job, what with all the type conversions,
string images,
and so forth that must be supported. The good news is that all the places
where
code would be needed are already marked, under #ifdef LargeInts. You would
just be
adding an #ifdef under that #ifdef. If you want to go for it, be my guest.
I can
provide some free advice, and if you want to contribute your code when
finished, I
can walk you through the many steps (autoconf rule, evaluation, testing,
review...)
necessary to get it added to the Unicon code base.
Cheers,
Clint
On Nov 26, 2007 2:14 AM, Pippijn van Steenhoven <[EMAIL PROTECTED]> wrote:
> how about using the GNU MP library for arbitrary precision and large
> integers?
> The Pike programming language uses it for their implementation of bignums
> and
> it would likely be a speedup for supported platforms, as it is
> assembler-optimised. It could be used where available and ignored where
> not
> supported.
>
> --
> Pippijn van Steenhoven
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
>
> iD8DBQFHSpxoJc+zqGNdDgoRApGRAJsEGQKBkoAi4k0BowVQ7NTvY7JP7wCgqQ9G
> 4CEh2PLbRm5giwnkTFW6sXU=
> =ER6v
> -----END PGP SIGNATURE-----
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Unicon-group mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/unicon-group
>
>
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group