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

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

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

Help for this page

Select Code to Download


  1. or download this
    $ perl createblinker.pl 500000 -900000 100 >x.tmp 2>y.tmp
    $ g++ -o tbench1 -std=c++11 -Wall -O3 tbench1.cpp
    ...
    user  0m3.242s
    sys   0m0.233s
    
  2. or download this
    ( $sum |= substr $all, $_ ) =~ tr/1357/2468/ for
      1, 2, $w, $w + 2, ($w << 1), ($w << 1) + 1, ($w << 1) + 2; # other 7
    + neighbors
    
  3. or download this
    $ time /opt/perl-5.26.0/bin/perl -I. tbench1.pl x.tmp 2
    cell count at start = 1500000
    ...
    user  0m3.203s
    sys   0m0.205s
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (7)
As of 2024-09-20 11:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (25 votes). Check out past polls.

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.