diff options
| author | arthurprs <arthurprs@gmail.com> | 2017-03-15 23:26:27 +0100 |
|---|---|---|
| committer | arthurprs <arthurprs@gmail.com> | 2017-04-04 22:43:27 +0200 |
| commit | f07ebd609796226e672737e502525fbbf5e27940 (patch) | |
| tree | 74fe1da115c970b9893257849aeb35e6607d741c /src/test/run-pass/thinlto | |
| parent | 5309a3e31d88def1f3ea966162ed4f81f161d500 (diff) | |
| download | rust-f07ebd609796226e672737e502525fbbf5e27940.tar.gz rust-f07ebd609796226e672737e502525fbbf5e27940.zip | |
Simplify HashMap Bucket interface
* Store capacity_mask instead of capacity * Move bucket index into RawBucket * Bucket index is now always within [0..table_capacity) * Clone RawTable using RawBucket * Simplify iterators by moving logic into RawBuckets * Make retain aware of the number of elements
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
