BTree: initialize node on the heap through initialized header#82226
BTree: initialize node on the heap through initialized header#82226ssomers wants to merge 1 commit intorust-lang:masterfrom ssomers:btree_node_init_2
Conversation
|
The benchmarks only really say it's not the same as before. |
|
@bors try @rust-timer queue |
|
Awaiting bors try build completion. @rustbot label: +S-waiting-on-perf |
|
⌛ Trying commit 9da1244df533250a0faf9e8dd1d1ba02fbfe8c44 with merge 395ce193633fda52d070a349e9f6ddcb6cc456fc... |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Should we still use a raw write here? There's no Drop, but I'm not sure if this still technically has implications about the former uninit head value.
There was a problem hiding this comment.
I don't really know how to do it non-raw. I'm happy when it compiles and when Miri says it the unit tests are okay. Although I haven't updated or run the raw pointer tests lately, so I'm not sure Miri checks anything here.
There was a problem hiding this comment.
Oh, I think you mean the opposite of what I first understood. It isn't a raw write any more (because of #73987) and we probably should still do it.
|
First I forgot about gdb_providers, and now that isn't backwards compatible (yet), and it's a pain to test anyway. And if I'm right in #82115 about the odd preference for 32 bit width in generated code,
|
My angle on #81494.
r? @Mark-Simulacrum