jruby/jruby — pull request #739 by grddev (2013-05-15 09:09:51+00:00)
Title: Improve GzipReader#gets performance.

Previously checked the whole line for the separator after each character
read. The new version instead just checks whether the line read so far
ends with the separator.

Note that the current version of ByteList#startsWith/endsWith assumes
the index and byte list arguments are valid, which means we must not
call the method before the line is long enough.