in reply to Re: Deleting records from an array
in thread Deleting records from an array

...if that's still not fast enough, you should think of a better approach, such as grouping your records as you read them (from a file?) in another hash (group by fourth field?).

Replies are listed 'Best First'.
Re^3: Deleting records from an array
by Anonymous Monk on Dec 22, 2014 at 08:40 UTC
    ...another optimization would be to use index instead of regex, if your keys are simple literals and not actually regular expressions...