commit | c482d383593ad5202c9a4d7c2042cdc27d4c7c50 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Mon Oct 26 11:20:18 2015 -0700 |
committer | Mathieu Chartier <mathieuc@google.com> | Mon Oct 26 11:45:30 2015 -0700 |
tree | c48cb3bd188fea31fe7b8f923de21096e1cfefa0 | |
parent | 92ca333976cf381de004945f95fa1e347d0a3a0e [diff] |
Add HashSet::Reserve Reserves enough room to insert n elements without expanding. Motivation is to use this for cases where we know how many elements will be inserted. Change-Id: I3c51fc7f4601903411fc90b0f1bf270fe9a30919