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

Re: Compare 2 very large arrays of long strings as elements

by sundialsvc4 (Abbot)
on Oct 28, 2011 at 20:17 UTC ( #934500=note: print w/replies, xml ) Need Help??


in reply to Compare 2 very large arrays of long strings as elements

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re: Compare 2 very large arrays of long strings as elements

Replies are listed 'Best First'.
Re^2: Compare 2 very large arrays of long strings as elements
by BrowserUk (Patriarch) on Oct 28, 2011 at 23:12 UTC
    The cause of your excessive completion times is undoubtedly caused by virtual-memory thrashing,

    More utter bollocks!

    Unless the OP is running his program on a 10 year old machine, then 1/2GB of ram:

    @a = ('x'x70)x2e6;; @b = @a;; print total_size( \@a ) + total_size( \@b );; 512000352

    Is very unlikely to be the cause of his problem.

    His problem is entirely down to the use of a crazy algorithm inside the module he chose to use.

    Once more you are sending OPs down blind alleys with your home-spun 'wisdoms".


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2023-03-30 05:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (73 votes). Check out past polls.

    Notices?