2025-11-25 15:26 UTC
In case anyone else needs to hear it: `Vec::with_capacity(user_input)` is probably a bad idea and will eat your RAM when you least expect it. At least put a `.min(reasonable_max)` on it. #rustlang
Replies (1)
-
@fasterthanlime@hachyderm.io 2025-11-25 15:29
@killercup@mastodon.social the solution to everything is to not have user input.