in reply to Re: Compare 2 very large arrays of long strings as elements
in thread Compare 2 very large arrays of long strings as elements
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".
|
---|