| commit | b8e81f42d8e6fe99510e36ebe33c86ed26c2eac9 | [log] [tgz] |
|---|---|---|
| author | Roberto Lublinerman <rluble@google.com> | Tue Aug 26 17:27:02 2014 -0700 |
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Aug 27 02:28:54 2014 +0000 |
| tree | e3785b2f75a91c23abb06b386877d3e275c4d4c4 | |
| parent | 2a63169018267edc5affc5f80cb5bb3552c77963 [diff] |
Replace uses of ObjectInputStream by StringInterningObjectInputStream. Some strings that are serialized are used extensibly as keys in (hash) Maps; if strings are not interned, even successful Map.get()s incurr in full string comparisons. This patch also makes sure that strings that are used commonly as keys are interned. Change-Id: I2c09ceb8bc29c27051bbbccdf161c3cf1b927d3c