hey there guys! i'm afraid this rather ridiculous adaptation of mine on your codes has you both ousted ;D

Code:
alias bm5 {
  var %start = $ticks
  var %i = 0
  .fopen -o gaz gazillion.txt
  while (%i < 10000) && (!$ferr) {
    .fwrite gaz $regsubex($str($crlf,100),/^/gm,$calc(%i + \n))
    inc %i 100
  }
  .fclose gaz
  echo -a (jaytea) File handling benchmark took $calc(($ticks - %start) / 1000) seconds
}


Quote:

(hixxy) File handling benchmark took 0.5 seconds
(Starbucks) File handling benchmark took 0.469 seconds
(jaytea) File handling benchmark took 0.265 seconds


long live $regsubex()!