Skip to content

add feature gate for managed boxes #9923

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 22, 2013
Merged

add feature gate for managed boxes #9923

merged 1 commit into from
Oct 22, 2013

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