Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Copy source code?

by Laurent_R (Canon)
on Jul 19, 2019 at 07:49 UTC ( #11103006=note: print w/replies, xml ) Need Help??


in reply to Copy source code?

GMP (GNU Multi-Precision) is a collection of libraries written in the c language for high performance (not specific to Perl). Math::Prime::Util::GMP is a kind of Perl interface to it. So, it is quite normal that you'll find something like sieve.c in there. I probably wouldn't advise you to try to change anything to it.

On the other hand, if high performance is not your primary goal, you will probably find pure Perl implementation of what you're looking for by going up in the directory hierarchy (in Math::Prime::util or Math::Prime).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11103006]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2023-03-26 05:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (63 votes). Check out past polls.

    Notices?