Another refactoring of read() and readline(), this time based on the
observation that _rbuf could never have more than one string in it. So make _rbuf a string. The code branches for size<0 and size>=0 are completely separate now, both in read() and in readline(). I checked for tabs this time. :-)
Showing
Please
register
or
sign in
to comment