Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Fractal structure index puzzle

by lin0 (Curate)
on Jul 18, 2007 at 18:29 UTC ( #627330=note: print w/ replies, xml ) Need Help??


in reply to Fractal structure index puzzle

Hi FFRANK,

you might want to have a look to a recent article in the Free Software Magazine on Generating Cool Fractals. There, you would find a Benchmark showing execution time for computing a Mandelbrot fractal image using different languages. It took about 200 seconds with gcc and g77 for 2000 points and 1000 iterations. For the same image using PDL, it took about 650 seconds. If you main concern is execution time, then I would think about using C. If you definitely want to do it in Perl, then PDL is your best bet. However, you would have to learn how to use matrix operations to avoid the use of loops as much as you can.

Good luck!

lin0


Comment on Re: Fractal structure index puzzle

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2014-11-27 14:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (185 votes), past polls