/filter doesn't read the entire file when the -r switch is specified, it reads the range specified with the [n-n2] parameter.

Like I said, this works twice as fast as the file handling alternative.