2 ms·
> Needlessly allocates a `Vec` if `self.payload` is `Some`. Vec is documented not to allocate if empty (unless created with a set capacity). So all the code do
by masklinn 3y ago
> Needlessly allocates a `Vec` if `self.payload` is `Some`.
Vec is documented not to allocate if empty (unless created with a set capacity). So all the code does is store 3 u64 on the stack.