Gray Olson

Results 123 comments of Gray Olson

As discussed, I believe the full requirements are: - All variants must be themselves NoUninit - All variants must be the same size - All variants must have no extra...

Oh! For some reason I thought the `BlahDiscriminant` existed outside that anonymous scope for the `NoUninit` case too, but you're right, it is contained inside. Excellent! Then ignore my hesitancy...

Wait, hm. For the `CheckedBitPattern` case, could we not get rid of the `BlahRawDiscriminant` and just inline the current type expression into the `BlahBits` type instead? I think I would...

Awesome :) Thanks for working on this and applying feedback! Think we can merge whenever @Lokathor would like

Isn't this only possible going from `&[&Foo]` to `&[Option]` and not the other way around? Or do you mean that in the owned `Vec` case, we should check all values...

I think that this is likely a good way forward. It might be the best to just not expose `mapped_slice` at all and only ever expose the raw base pointer,...

I'm a fan. I think the list of apis could be something like ```rust /// `offset` is in bytes from start of allocation, `len` is the number of `T`s in...

My take is probably that things are "fine" just as is for now, people are unlikely to change to new apis between now and the near-ish future where we could...

Opened https://github.com/EmbarkStudios/presser/pull/5 which implements basically the idea I discussed above, atop which it should be fairly easy to implement similar APIs in `gpu-allocator`, though probably not all of them are...