rust/library/alloc
bors 3c10a880ec Auto merge of #81494 - cuviper:btree-node-init, r=Mark-Simulacrum
Initialize BTree nodes directly in the heap

We can avoid any stack-local nodes entirely by using `Box::new_uninit`, and since the nodes are mostly `MaybeUninit` fields, we only need a couple of actual writes before `assume_init`. This should help with the stack overflows in #81444, and may also improve performance in general.

r? `@Mark-Simulacrum`
cc `@ssomers`
2021-02-13 17:29:22 +00:00
..
benches Reorder benches const variable 2020-09-29 21:39:24 +08:00
src Auto merge of #81494 - cuviper:btree-node-init, r=Mark-Simulacrum 2021-02-13 17:29:22 +00:00
tests Added tests to drain an empty vec 2021-02-13 11:18:36 +08:00
Cargo.toml Update compiler_builtins to 0.1.39 2021-01-07 16:16:36 +09:00