]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #9923 : thestinger/rust/managed_boxes, r=brson
authorbors <bors@rust-lang.org>
Tue, 22 Oct 2013 18:51:23 +0000 (11:51 -0700)
committerbors <bors@rust-lang.org>
Tue, 22 Oct 2013 18:51:23 +0000 (11:51 -0700)
I'll flip this on after doing a snapshot. This syntax may or may not
stay around, and managed boxes are currently not very useful. They have
the same overall performance characteristics as `std::rc::Rc`, but are
significantly slower, allocate larger boxes and hold onto the memory
beyond when it is needed due to lacking move semantics.

There are currently two useful aspects of the type:

* the dereference sugar, which we should implement for `Rc`
* the annihilator freeing cycles at the end of the task


Trivial merge