diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-08-31 10:08:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-31 10:08:58 +0200 |
| commit | a59c1a429188c8e15ad8d6c6692520b575736869 (patch) | |
| tree | 367cce3d430647f85562c5f1a6aeb3449dda666a /compiler/rustc_interface/src | |
| parent | 6c8b07f71a55c097b41b8063fc96de7d5eb3c369 (diff) | |
| parent | de34a9135069a559e3a2249b481fe551a5c1a8dd (diff) | |
| download | rust-a59c1a429188c8e15ad8d6c6692520b575736869.tar.gz rust-a59c1a429188c8e15ad8d6c6692520b575736869.zip | |
Rollup merge of #129751 - RalfJung:interpret-visit-field-order, r=compiler-errors
interpret/visitor: make memory order iteration slightly more efficient Finally I know enough about RPIT to write this iterator signature correctly. :D This means memory-order iteration now needs an allocation, but it avoids quadratic complexity (where it has to do a linear scan n times to find the n-th field in memory order), so that seems like a win overall. The changed code only affects Miri; the rustc changes are NOPs.
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions
