Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Fractal structure index puzzle

by lin0 (Curate)
on Jul 18, 2007 at 18:29 UTC ( [id://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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (6)
As of 2024-03-19 11:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found