Need to learn what mem::Layout is for sometime. The docs don't have a usage example, so took me a bit to work to grasp the changes (::new is now const) on stream.
-
-
I think it's related to https://doc.rust-lang.org/std/alloc/trait.GlobalAlloc.html#tymethod.alloc …, so you can request specific types of alignment and stuff. That has impacts on some CPU instructions, IE a DWCAS needs to be inside a single cacheline etc.
-
Probably some datastructures and such can use it too to ensure values are whole inside a cache boundary too.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.