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 upBinaryHeap is not exception safe #25842
Comments
This comment has been minimized.
This comment has been minimized.
|
My immediate ideas are one of
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Long ago I suggested two other strategies:
|
This comment has been minimized.
This comment has been minimized.
|
triage: I-nominated, T-libs |
rust-highfive
added
the
I-nominated
label
May 27, 2015
alexcrichton
added
the
T-libs
label
May 27, 2015
This comment has been minimized.
This comment has been minimized.
|
I'm trying gankro's panic guard idea. |
bluss
pushed a commit
to bluss/rust
that referenced
this issue
May 28, 2015
bluss
referenced this issue
May 28, 2015
Merged
collections: Make BinaryHeap panic safe in sift_up / sift_down #25856
bluss
pushed a commit
to bluss/rust
that referenced
this issue
May 28, 2015
bluss
pushed a commit
to bluss/rust
that referenced
this issue
May 28, 2015
bluss
pushed a commit
to bluss/rust
that referenced
this issue
May 28, 2015
bors
added a commit
that referenced
this issue
May 28, 2015
bors
closed this
in
#25856
May 28, 2015
XMPPwocky
added a commit
to XMPPwocky/rust
that referenced
this issue
May 29, 2015
alexcrichton
added a commit
to alexcrichton/rust
that referenced
this issue
Jun 10, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bluss commentedMay 27, 2015
BinaryHeap is using
zeroed()and may not be exception safe. I.e. it is in an inconsistent state after being recovered after panic. See issue #25662 and others.Relevant code is BinaryHeap::sift_up, sift_down_range
cc @cmr