Closed tertsdiepraam closed 1 year ago
Before I properly review the code, could you rewrite in terms of the newly-added ArrayStorage
type? It should simplify the MaskingBuffer
generics as well.
Before I properly review the code, could you rewrite in terms of the newly-added
ArrayStorage
type? It should simplify theMaskingBuffer
generics as well.
Done!
Alright, I think everything's good! Thanks for contributing!
rustfmt
changes are in a separate commit.Currently, the only storage type that works is
[MaybeUninit<T>, 4]
because I wanted to focus on the ringbuffer, not implementingPartialStorage
. I definitely made some mistakes withunsafe
, so please check carefully and roast appropriately.