Mercurial > hg
diff hgeditor @ 24047:731fa8e3e580
bundle2: now that we have a seek implementation, use it
Replace bare part.read() calls with part.seek(0, 2) since the return value is
being ignored. As this doesn't necessarily require building a string that
contains the rest of the part, the potential exists to reduce the memory
footprint of these operations.
author | Eric Sumner <ericsumner@fb.com> |
---|---|
date | Thu, 05 Feb 2015 10:56:05 -0800 |
parents | 2b440bb8a66b |
children | 1aee2ab0f902 |