The role of autoreleasepool in Swift and thoughts about memory management in Swift

My understanding is that if something is a problem or if something can be done better, then it's worth a bug report. I think in general, Foundation things (like URL and String.replacingOccurrences(of:with:options:range:) here) are outside of Swift Evolution, so you don't need to go through the entire "discussion → pitch → implementation → proposal" process for them. But even for things that need to go through the evolution process, you can still discuss about them before having an implementation–they just can't be proposed and accepted without one.

1 Like