rust/compiler
bors 5d1b897a07 Auto merge of #146331 - RalfJung:copy-prov-repeat, r=oli-obk
interpret: copy_provenance: avoid large intermediate buffer for large repeat counts

Copying provenance worked in this odd way where the "preparation" phase (which is supposed to just extract the necessary information from the source range) already did all the work of repeating the result N times for the target range. This was needed to use the existing `insert_presorted` function on `SortedMap`.

This PR generalizes `insert_presorted` so that we can avoid this odd structure on copy-provenance, and maybe even improve performance.
2025-09-17 13:56:54 +00:00
..
2025-09-16 22:23:19 +00:00
2025-09-16 22:23:19 +00:00
2025-09-16 22:23:19 +00:00
2025-09-16 22:23:19 +00:00
2025-09-12 15:10:30 -05:00