in reply to Re: Memory issue with large array comparison
in thread Memory issue with large array comparison
My understanding is that he has two arrays: the first containing 50,000+ pathnames, and the second containing 10,000 strings which may match a filename in one of the pathnames. I don't see how you exclude those matches with a regex, unless you concat all 10,000+ strings together with pipe symbols, and I doubt a regex like that would be very efficient.
Aaron B.
Available for small or large Perl jobs; see my home node.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Memory issue with large array comparison
by ww (Archbishop) on May 25, 2012 at 02:20 UTC | |
by aaron_baugher (Curate) on May 25, 2012 at 03:56 UTC | |
by ww (Archbishop) on May 26, 2012 at 00:47 UTC | |
by aaron_baugher (Curate) on May 26, 2012 at 03:27 UTC | |
by choroba (Cardinal) on May 25, 2012 at 12:07 UTC | |
|
Re^3: Memory issue with large array comparison
by CountZero (Bishop) on May 25, 2012 at 13:53 UTC |