Commits

Shlomi Fish  committed 4e28309

Optimize

  • Participants
  • Parent commits c5ca88a

Comments (0)

Files changed (1)

File black-hole-solitaire/all-in-a-row-gnu-parallel-range-solving/collect.pl

 
 my $start_idx;
 
-if (my $last_line = sum_fh()->[-1])
+if (-e $SUMMARY_FN)
 {
+    my $last_line = `tail -1 "$SUMMARY_FN"`;
     ($start_idx) = $last_line =~ m/\A(\d+)/;
     $start_idx++;
 }