Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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 learning in the Monastery: (5)
As of 2024-03-28 13:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found