commit | 8c253d4d42018d77b78de8f8c70c6204f5aa6d0e | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Apr 29 14:10:12 2020 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed Apr 29 14:10:12 2020 -0700 |
tree | 0c1c7cd5e890bcd5201c1d98d087dd7ec7e6fa0d | |
parent | 6923de126745986d31b6fe4d0a76089b6c6942aa [diff] |
Avoid zero-initializing our most-used buffers. The StringPrintf one is heavily used and brings the overhead versus fmtlib down to 1.5x rather than 2x. I don't have a convenient benchmark for the other two. Test: libbase tests & benchmarks Bug: http://b/155324241 Change-Id: I9e704a360846d5520c53f668e7c315b0c0ea55f8