commit | 1d442e0d990b581357f33f5463c7c5cb49b551e8 | [log] [tgz] |
---|---|---|
author | Dianne Hackborn <hackbod@google.com> | Mon Apr 20 18:14:05 2009 -0700 |
committer | Dianne Hackborn <hackbod@google.com> | Wed Apr 22 18:03:21 2009 -0700 |
tree | 58963b9ba095e179ba7c63e52dfd525b93cb978e | |
parent | a0c9e8526b094e3b4f2c2747622059215d00516f [diff] |
More optimization of dumpsys output. There are three major classes of changes here: - Avoid writing lines where their values are often empty, false, or some other typical thing. - Use partial writes to the PrintWriter to avoid creating temporary strings. - Use StringBuilder where we need to generate real String objects (and where possible cache the result).