pub fn cautious_capacity<Element>(size_hint: usize) -> usize
Prevents preallocating too much memory in case we get a malicious or invalid sequence length.