so sorry to tell you this but `Vec::push` as well as `format!` can alloc
-
-
-
ahaha, no no - that's good. Was hoping someone would reply. The purpose of this would be that the person calling this method is responsible, and allocates a large enough vector up front. That way memory usage can stay stable between calls - and save CPU cycles.
- 3 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.