Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

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

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

Help for this page

Select Code to Download


  1. or download this
    # use 30-bits on 64-bit hw for cperl compatibility
    my $half = ( ( log(~0 + 1) / log(2) ) >= 64 ) ? 30 : 16;
    
  2. or download this
    $ perl createblinker.pl 500000 -900000 100 >x.tmp 2>y.tmp
    $ perl tbench1.pl x.tmp 2
    ...
    2 nums into 1  1,510 MB   39 secs   40 secs   42 secs   37 secs
    shorter impl   1,661 MB   40 secs   42 secs   44 secs   37 secs
    
  3. or download this
                   mem size   v5.26.0   v5.24.2   v5.22.4   cperl
    optimized i2   1,326 MB   31 secs   32 secs   33 secs   30 secs
    2 nums into 1  1,292 MB   33 secs   34 secs   35 secs   31 secs
    shorter impl   1,443 MB   35 secs   36 secs   37 secs   31 secs
    
  4. or download this
    package Organism;
    
    ...
    
    1;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (6)
As of 2024-09-20 11:12 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.