note
jynx
<br>
Would it be faster to do relative seeks? I'm just thinking that toward the end of the file you're seeking across 300+GBs of data every time you delete a single line. would
<code>
seek $fhRead, $r2 - $w2, 1;
</code>
work?<br><br>
Just a thought...
<br><br>
Edit: While it's obvious, i think it's also worth noting that if each record is the same size (which seems likely) then it can be done in one pass instead of two (or at least, one pass for each chunk of kill file, depending on kill file size).
587112
587241