3 ms·
> There are also some optimizations around move semantics That piqued my curiosity -- would you mind going into a little more detail, or point me to somewhere
by seertaak 12y ago
> There are also some optimizations around move semantics
That piqued my curiosity -- would you mind going into a little more detail, or point me to somewhere where these are discussed?
- pcwalton 12y agohttps://github.com/mozilla/rust/issues/5016 https://github.com/mozilla/rust/issues/5016 is the main optimization (and we have more discussed but not written up). Since we have a very strict notion of liveness, we don't have to zero out moved data since the compiler can just not run the destructor.