]> git.lizzy.rs Git - rust.git/commit
Change rebuild heuristic in BinaryHeap::append
authorHan Mertens <hanmertens@outlook.com>
Fri, 15 Jan 2021 20:50:05 +0000 (21:50 +0100)
committerHan Mertens <hanmertens@outlook.com>
Fri, 15 Jan 2021 20:50:05 +0000 (21:50 +0100)
commit32a20f4433c7fa8a5b6c517ff934cab8da3670c9
tree3ba5bdf3e1cc82ffd94b7bd6a72674cd7a2d2241
parente48eb37b9470a26748c916f7153569906f3c67bf
Change rebuild heuristic in BinaryHeap::append

See #77433 for why the new heuristic was chosen.

Fixes #77433
library/alloc/src/collections/binary_heap.rs