Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Slowness when inserting into pre-extended array

by sgifford (Prior)
on Jul 20, 2003 at 05:18 UTC ( [id://275993]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Time::HiRes qw(time);
    
    ...
    {
      printf "%10s: %10.6f\n",$k,$v;
    }
    
  2. or download this
    for $i in (1..2_000_000)
    {
      my %case;
      push(@r,\%case);
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-09-14 14:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The PerlMonks site front end has:





    Results (21 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.