Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Best method to diff very large array efficiently

by BrowserUk (Pope)
on Nov 26, 2013 at 08:55 UTC ( #1064370=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    C:\test>1064178-b.pl
                     Rate listCompare OPdiff hash_grep OPdiffModified OPdi
    +ff_undef using_vec
    ...
    OPdiffModified  200/s       1452%   110%        8%             --     
    +     -2%      -27%
    OPdiff_undef    203/s       1478%   114%       10%             2%     
    +      --      -26%
    using_vec       273/s       2019%   187%       48%            37%     
    +     34%        --
    
  2. or download this
    C:\test>\perl5.18\bin\perl 1064178-b.pl
                    Rate     OPdiff  using_vec hash_grep OPdiffModified OP
    +diff_undef
    ...
    hash_grep      183/s        45%        13%        --           -17%   
    +      -19%
    OPdiffModified 220/s        74%        36%       20%             --   
    +       -2%
    OPdiff_undef   225/s        79%        39%       23%             2%   
    +        --
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (12)
As of 2014-12-22 01:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (110 votes), past polls