commit | c6c6c5d5176f739e0ceecedbdf277513bf4854b1 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Oct 27 17:48:34 2010 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu Oct 28 09:40:51 2010 -0700 |
tree | ca9f940f0d2d7a13974ce5cfefe1859f5205982b | |
parent | 30edef6fcb6e442f6cb9a11a058f7d50366fe383 [diff] |
Optimize DataOutputStream and RandomAccessFile. Use OSMemory's byte[] peek/poke routines, and reuse a single buffer in RandomAccessFile, as DataOutputStream was already doing. Bug: 3032515 Change-Id: I50f34be9a9e126965759a221b21b05baf4b56083