http://qs321.pair.com?node_id=510827


in reply to Re: Net::SSH::Perl and PARI
in thread Net::SSH::Perl and PARI

Hmm, this doesn't work for me. If I manually change DH.pm to use Math::BigInt lib => "GMP"; and then make the changes to my script as per your suggestion, my execution time drastically increases (from 5 to 25 seconds) until I revert the change to DH.pm.

0xbeef

Replies are listed 'Best First'.
Re^3: Net::SSH::Perl and PARI
by PodMaster (Abbot) on Nov 22, 2005 at 15:39 UTC
    I'd say its working ;)

    If you've got both Math::BigInt::GMP and Math::BigInt::Pari installed, you've effectively loaded both of them, and DH.pm is using Math::BigInt::Pari since it was loaded last :)

    See 16032 lib GMP versus lib PARI versus lib GMP,PARI.

    For now, you should only install one of them.

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.