Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Just another Perl shrine
 
PerlMonks  

Re^6: Do you really want to use an array there?

by BrowserUk (Pope)
on Apr 14, 2008 at 17:36 UTC ( #680341=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    C:\test>p1
    $packed = pack 'V*', 1 .. 1e6;;
    ...
             Rate  unvec unpack
    unvec  1.45/s     --   -45%
    unpack 2.64/s    81%     --
    
  2. or download this
    use strict;
    
    ...
    C:\test>junk0
    Vector's size: 40000001 bytes
    unpack vector in        362  secs...(Oh dear!!!)
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2013-05-19 20:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (397 votes), past polls