petdance/ack2 — pull request #242 by mmcclimon (2013-04-21 15:22:52+00:00)
Title: Tiny optimization (removing regex in Basic.pm, next_text)

If we chop off the trailing [\r\n] in a while loop and a `substr`, it's roughly 3x faster (as far as I can tell) than doing an `s/[\r\n]+//`, since it doesn't have to copy the string. It's not much, but it should help a bit in large directories.