Performance tweak for files with really long lines