commit | 33088caf672e6f3a3b8da66460f57c6433e491a8 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Apr 28 12:01:21 2010 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Apr 28 12:01:21 2010 -0700 |
tree | a3c63a8ddff257f538f4868bc38d32d7fad219f5 | |
parent | fe0dabac54c0bada280a15fb9b499a084b837e86 [diff] |
Remove almost all of the temporary allocations. The main source of garbage when running the tests is now OutputStream.write(int)'s creation of temporary single-byte byte arrays, but no performance-conscious caller should be using that. In sensible cases, we now produce very little garbage. Change-Id: I13b5c8aef9a48c6aca33b039af2b13d5613a5f05