|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2022-02-18 20:36:37
> Niall Douglas wrote:
> > Surely laundering the address each time is rather bad for optimisation
> > and codegen?
> >
> > I mean, effectively launder invokes "escaped" during escape analysis right?
>
> I honestly have no idea.
>
> However, looking at https://godbolt.org/z/oKj5c5x7v, it doesn't seem so.
And in the case in which the address actually escapes, there doesn't seem to
be any difference either: https://godbolt.org/z/j93oe3cr8
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk