]> git.lizzy.rs Git - rust.git/commit
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)
commitae0905ab67a2dd3def61e266bba9f8f223586af6
tree2ac88ed15bd6e69ec9c437768e31434501211b0b
parentfd2c0128a7dd3cb19eda253acd01cd7905d1c7dc
parent38c620e75829b2eb09417479aa8c1e2dd69c8d7e
auto merge of #9923 : thestinger/rust/managed_boxes, r=brson

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