Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Memory issue with large array comparison

by Cristoforo (Deacon)
on May 25, 2012 at 01:10 UTC ( #972346=note: print w/ replies, xml ) Need Help??


in reply to Memory issue with large array comparison

Just to point out, in your code

my @list = grep { my $x = $_; not grep { $x =~ /$_\w+$/ } @safe_list } @pathnames;

the first grep from the left should probably be a map instead.

Chris

Update: Didn't read the code correctly.


Comment on Re: Memory issue with large array comparison
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (12)
As of 2015-07-28 21:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (259 votes), past polls