Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upTracking issue for BinaryHeap::{push_pop, replace} #28147
Comments
alexcrichton
added
T-libs
B-unstable
labels
Sep 1, 2015
This comment has been minimized.
This comment has been minimized.
|
It looks like the unstable methods are: |
This comment has been minimized.
This comment has been minimized.
|
I believe they weren't stabilized mostly because they didn't fit into any existing collections conventions and to be conservative we didn't add too much special functionality to collections around 1.0. They're pretty innocuous though, so I'd imagine they're ripe for some small modernization followed by stabilization. |
This comment has been minimized.
This comment has been minimized.
|
|
sfackler
added
the
I-nominated
label
Sep 17, 2015
This comment has been minimized.
This comment has been minimized.
|
Should replace |
This comment has been minimized.
This comment has been minimized.
|
We should be careful to document the impl so that people can ctrl+f heapify and find it. |
This comment has been minimized.
This comment has been minimized.
|
This issue is now entering its cycle-long FCP for stabilization in 1.5 The specific actions to be taken here will be:
The |
alexcrichton
added
final-comment-period
and removed
I-nominated
labels
Sep 24, 2015
This comment has been minimized.
This comment has been minimized.
|
I think we want |
steveklabnik
added this to the 1.5 milestone
Oct 1, 2015
This comment has been minimized.
This comment has been minimized.
photino
commented
Oct 21, 2015
|
If we have already stabilized the |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
The libs team discussed this today and the decision was to stabilize. |
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Oct 23, 2015
bors
added a commit
that referenced
this issue
Oct 24, 2015
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Oct 24, 2015
bors
added a commit
that referenced
this issue
Oct 25, 2015
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Oct 25, 2015
bors
added a commit
that referenced
this issue
Oct 25, 2015
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Oct 25, 2015
bors
added a commit
that referenced
this issue
Oct 25, 2015
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Oct 25, 2015
bors
added a commit
that referenced
this issue
Oct 25, 2015
arcnmx
added a commit
to arcnmx/rust
that referenced
this issue
Nov 2, 2015
alexcrichton
removed
the
final-comment-period
label
Nov 4, 2015
alexcrichton
removed this from the 1.5 milestone
Nov 4, 2015
alexcrichton
changed the title
Tracking issue for BinaryHeap
Tracking issue for BinaryHeap::{push_pop, replace}
Nov 4, 2015
This comment has been minimized.
This comment has been minimized.
constituent
commented
Jun 19, 2016
|
I'd like to ask a question about It seems it's the optimized (and suggested) way if you are sure that one item will be pushed after a pop. Sometimes the pushed item is related with the popped one, say, pop an Should I use normal pop & push, or Furthermore, is it possible to push back conditionally, e.g. only if |
This comment has been minimized.
This comment has been minimized.
bsteinb
commented
Jul 16, 2016
|
@constituent I think you might be interested in contain-rs/discuss#13 |
This comment has been minimized.
This comment has been minimized.
|
I believe the functionality of |
sfackler
added
the
I-nominated
label
Aug 28, 2016
sfackler
added
final-comment-period
and removed
I-nominated
labels
Sep 7, 2016
This comment has been minimized.
This comment has been minimized.
|
The libs team discussed the remaining unstable methods, and are putting them in a final comment period to deprecate. They're fairly niche, and peek_mut provides similar functionality in a more flexible API. |
This comment has been minimized.
This comment has been minimized.
|
The libs team discussed this at triage the other day and the conclusion was to deprecate |
eefriedman commentedSep 1, 2015
Updated issue
Tracking issue for
BinaryHeap::push_popBinaryHeap::replaceOriginal Report
std::collections::BinaryHeap has a bunch of unstable methods without proper stability markings; filing an issue to point them at. Someone please label this B-unstable.