You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement Atom & AtomLogic for small, pow2-sized integer arrays
In theory we could implement `Atom` for `[T; N]` where `T` packs into
a representation with X bytes such that `N * X` is smaller than the
largest supported atomic size. However, implementing anything generic
like that is really tricky due to impl-overlap check and various other
issues. It would be really nice to support `[Foo; 2]` as long as `Foo`
implements `Atom<Repr = u8>`. But again, this is really tricky and if
possible at all, results in a bunch of helper traits. Adding this fixed
set of impls should cover the most important use cases.
0 commit comments