Save time by filtering your input stream.