Hello everyone,

I have a question about Swift Structs, regarding memory usage...
as WWDC talk ( Session 416 ) says, Swift uses heap memory to store large values 
( contain more than 3 words as current inline buffer is 3 words ),
has something changed in this area since WWDC?
What are the advantages from copying it to heap?
is current behaviour final and will it be “baked” into Swift ABI?
is it possible to tell compiler ( or force ) to always use stack for value 
types ?


Regards,
Sergo




_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Reply via email to