Skip to content

Commit

Permalink
speed up parsing the --dumped file in coverage log
Browse files Browse the repository at this point in the history
  • Loading branch information
timo committed Sep 26, 2016
1 parent ec17535 commit 341118f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/parse_coverage_report.p6
Expand Up @@ -10,6 +10,7 @@ sub MAIN(Str $file where *.IO.e, Str $source where *.IO.e, Str $filename? = $sou
note "analyzing annotations file";
my %existing_lines;
for $annotations.IO.lines {
next unless $_.starts-with: ' annotation: ';
if /^ \s+ 'annotation: ' <-[:]>+ ':' (\d+) $/ {
%existing_lines<<$0>> = True;
}
Expand Down

0 comments on commit 341118f

Please sign in to comment.