if($chunk >= $filesize){$chunk = $filesize}
and
if($numlines >= $#tailtemp +1){$numlines = $#tailtemp +1}
It took about 10% off my benchmark speed, but is still relatively
fast. In reply to Re: pure perl tail revisited
by zentara
in thread pure perl tail revisited
by zentara
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |