Skip to content

Conversation

@thestinger
Copy link
Contributor

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

@thestinger
Copy link
Contributor Author

cc #7803

@brson
Copy link
Contributor

brson commented Oct 18, 2013

Hold off on this for further discussion.

@brson
Copy link
Contributor

brson commented Oct 18, 2013

It's on the meeting agenda for next week.

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
bors added a commit that referenced this pull request Oct 22, 2013
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
@bors bors closed this Oct 22, 2013
@bors bors merged commit 38c620e into rust-lang:master Oct 22, 2013
@thestinger thestinger deleted the managed_boxes branch November 9, 2013 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants