[SR-11464] _withUGR isn't suppressing retain/release as much as it should? #53864
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
performance
standard library
Area: Standard library umbrella
Additional Detail from JIRA
md5: eaf8694173330c6f2ae67cd4fa79e551
Issue Description:
https://github.com/frol/completely-unscientific-benchmarks
There's two versions of the Swift benchmark here; the unsafe one uses _withUGR heavily, but I still observed a huge amount of retain/release calls in an instruments trace. I haven't looked into it in any detail, so it's possible that they're coming from some other source, but Karoy and Michael wanted to have a pass over _withUGR anyway, and this is a convenient excuse.
The text was updated successfully, but these errors were encountered: