3 ms·
> There's no mathematical way for it to know that you won't modify (especially remove). This is not true. Here's three examples: A positive result from escape
by chrisseaton 7y ago
> There's no mathematical way for it to know that you won't modify (especially remove).
This is not true. Here's three examples:
A positive result from escape analysis and then scalar replacement of aggregates.
A positive result from partial escape analysis until after this point in the program.
Speculation that list is not modified, and deoptimisation if it is.