in reply to Re^2: improve performance
in thread improve performance

No, I did not consider it, but you can consider it in your code.

Replies are listed 'Best First'.
Re^4: improve performance
by swissknife (Sexton) on Jun 08, 2015 at 12:18 UTC

    event after making the change @newarray is empty.

     if ( $lookup { !$strfile } ) {

      That's not how a hash lookup works. Negating the lookup would be

      if (! $lookup { $strfile } ) {

      If you are struggling with this, most likely your diagnosis of the processing bottleneck warrants reevaluation as well.

      Note that you were already shown the correct code here; please take the time to read all of the replies.