Max Naumchyk
Max Naumchyk
This is quite interesting. While writing the crate at the time I have believed that any such logical contradictions would not be actually possible. Even though the `safe_uninit` function really...
I've re-read the docs for `MaybeUninit` and now I spotted that there was explicitly stated that even integer types with uninit value do not have a "fixed" value and several...
@dtolnay I though about trying this too but hadn't had the time today. Did it actually work out or is it just a suggestion?
Anyway, I have run several (criterion) benchmarks to see if really using the black box solution has any benefits over using well-initialized memory. By black box I mean either `std::hint::black_box`...
The point is that possibly because of any kind of black box the micro-optimizations intended by `safe_uninit` crate are never performed. This leads to the though that `safe_uninit` itself should...