Closed Soveu closed 4 years ago
Most of TinyVec code looks like this
pub fn whatever(self, args) -> ReturnType { match self { Self::Inline(i) => i.whatever(args), Self::Heap(h) => h.whatever(args), } }
While coding TInyBitVec I made a macro that produces this kind of code automatically
If we are interested, I could port it here
yeah that seems useful
Most of TinyVec code looks like this
While coding TInyBitVec I made a macro that produces this kind of code automatically
If we are interested, I could port it here