[swift-evolution] What about garbage collection?
Joe Groff
jgroff at apple.com
Mon Feb 8 15:03:15 CST 2016
> On Feb 8, 2016, at 12:26 PM, Goffredo Marocchi <panajev at gmail.com> wrote:
>
> Devices being able to house a compact amount of RAM is a device vendor concern not a Swift one although the former kind of owns the latter, but that is being a bit cheeky I will admit that ;).
>
> Still, iPhone 6 Plus only having 1 GB of RAM... Grrrr... :P. Seriously, multitasking suffers greatly on that device as well as having multiple opened tabs on Safari...
Please keep discussion of iPhone design on the iphone-evolution list. (j/k) No matter how much RAM your device has, though, it's still advantageous at the macro level to optimize for memory usage—you get better cache utilization, can run more processes, swap less, etc., and your hot paths that deserve to be greedy with memory will be more likely to have the space they need to be fast.
-Joe
More information about the swift-evolution
mailing list