diff options
| author | bors <bors@rust-lang.org> | 2018-06-01 18:25:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-06-01 18:25:19 +0000 |
| commit | aa094a43cc041c8483b7c80fb0ec4be233dd01b7 (patch) | |
| tree | dcf48d2463372afcb0b04b99bce3c365ad8dbb8d /src/libsyntax/parse | |
| parent | 747e655010dd200b4faef1db0910f6097920b58e (diff) | |
| parent | c6bebf4554692c07ff96c8395f8aeddb09443708 (diff) | |
| download | rust-aa094a43cc041c8483b7c80fb0ec4be233dd01b7.tar.gz rust-aa094a43cc041c8483b7c80fb0ec4be233dd01b7.zip | |
Auto merge of #51163 - Amanieu:hashmap_layout, r=SimonSapin
Simplify HashMap layout calculation by using Layout `RawTable` uses a single allocation to hold both the array of hashes and the array of key/value pairs. This PR changes `RawTable` to use `Layout` when calculating the amount of memory to allocate instead of performing the calculation manually. r? @SimonSapin
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions
