4 ms·
The real premature optimization is using List instead of Set for guaranteed small sizes, since List is going to outperform Set in those cases.
by The_Colonel 3y ago
The real premature optimization is using List instead of Set for guaranteed small sizes, since List is going to outperform Set in those cases.
- marcellus23 3y agoThat depends on how list and set are implemented.