Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^20: High Performance Game of Life (updated - results)

by marioroy (Prior)
on Aug 16, 2017 at 14:35 UTC ( [id://1197505]=note: print w/replies, xml ) Need Help??


in reply to Re^19: High Performance Game of Life (updated - results)
in thread High Performance Game of Life

tybalt89++ Look at Perl go ;-)

$ perl createblinker.pl 500000 -900000 100 >x.tmp 2>y.tmp $ time /opt/perl-5.26.0/bin/perl -I. tbench1.pl x.tmp 2 cell count at start = 1500000 run benchmark for 2 ticks cell count at end = 1500000 time taken: 1 secs real 0m3.618s user 0m3.363s sys 0m0.235s

Last night, I ran with a small sample and displayed $grid everywhere to understand the code. It's clever.

Regards, Mario

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2026-01-13 11:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (118 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.