commit | a2b015dc2ecba3a4aa809d878da2bf89eb4b5bbc | [log] [tgz] |
---|---|---|
author | Guang Zhu <guangzhu@google.com> | Sun Aug 09 16:24:49 2015 -0700 |
committer | Guang Zhu <guangzhu@google.com> | Mon Aug 10 14:43:53 2015 -0700 |
tree | d02a42dc5b0472e61caa4f26281b1fe4236456f7 | |
parent | c4646c8f13797568c2f42d00712f407a838023b4 [diff] |
Improve I/O performance 1. Use InputStream#read(byte[]) instead of InputStream#read(int) 2. Use OutputStream#write(byte[]) instead of OutputStream#write(int) 3. implement OutputStream#write(byte[], int, int) in addition to OutputStream#write(int) where feasible Bug: 23061510 Change-Id: I249864d621da8bebfada1bc2ddb6d1e1b65b9f29