Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: computational efficiency

by zentara (Archbishop)
on Oct 05, 2011 at 09:52 UTC ( #929744=note: print w/ replies, xml ) Need Help??

in reply to computational efficiency

I'll have to do that a couple of hundred times to a couple of hundred thousand times, so right now I'm thinking of how to optimize the code.

You might want to look at PDL, or make a custom Inline::C program to do the calculations. PDL uses very fast Fortran routines to do it's math. Plain Perl's math is slowed down by the overhead it uses on maintaining variable type, so it is not best for computational efficiency.

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh

Comment on Re: computational efficiency

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (2)
As of 2015-10-10 12:15 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (255 votes), past polls