3 ms·
The drop flag is not a reference count. It is an implementation detail, and we could eliminate it if we wanted to. Swift's value types are less flexible than t
by pcwalton 10y ago
The drop flag is not a reference count. It is an implementation detail, and we could eliminate it if we wanted to.
Swift's value types are less flexible than those of Rust because of the need to maintain soundness in the presence of aliasing and mutation.