I know it's good to use sizehint! with an estimate of the sizes of (variable-length) containers such as vectors, but I have a couple of questions I'm hoping someone could answer:
1) what are the benefits of using sizehint!? (How does it work, and under what circumstances is it beneficial?) 2) what are the implications (positive/negative, if any) of overestimating the size of a container? Thanks.