# HG changeset patch # User Simon Howkins # Date 1254496749 -3600 # Node ID 7be9799d1a413d1f308a64283333039fb4c29758 # Parent 588d89ee2c058614b1f6b781189c20392841c9a2 Pre-emptive performance fix - avoid having to read the complete log file into memory at the same time before processing it. diff -r 588d89ee2c05 -r 7be9799d1a41 common/tools/brag/logToBRAG.pl --- a/common/tools/brag/logToBRAG.pl Mon Oct 05 09:44:59 2009 +0100 +++ b/common/tools/brag/logToBRAG.pl Fri Oct 02 16:19:09 2009 +0100 @@ -88,7 +88,7 @@ } # Iterate through all the lines of all the files in @ARGV -foreach my $line (<>) +while (my $line = <>) { chomp $line; foreach my $rule (@rules)