<p><span class="h-card" translate="no"><a href="https://mastodon.social/@whitequark" class="u-url mention">@<span>whitequark</span></a></span> I assume that the costs of both Cell and RefCell can be removed by the compiler if those "borrowed" stretches are sufficiently short, but I don't know which one of the two is more likely to get removed correctly and efficiently.</p>