rust/compiler
Matthias Krüger a59c1a4291
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.
2024-08-31 10:08:58 +02:00
..
2024-08-11 04:16:53 +02:00
2024-08-28 23:32:40 +01:00
2024-08-28 09:54:23 +02:00
2024-08-14 14:18:17 -04:00