|
|
|
|
|
by chrisseaton
1904 days ago
|
|
> How does making Optionals allocated on the stack (value types) prevent this? Let's not confuse language specification issues with implementation issues. Both value and object types can be allocated on the stack. Both can be allocated on the heap. Both can not be allocated at all and can be scalar replaced. So this isn't the meaningful difference! |
|