3 ms·
Did you try that out in a REPL before posting? You should.
by klyrs 5y ago
Did you try that out in a REPL before posting? You should.
- shhsshs 5y agoI'm guessing he did, because it does exactly what he's implying it does.
- klyrs 5y agowow, my bad. That's sets & dicts that invalidate their iterators when the size changes.
- marcosdumay 5y agoIterating over mutable unordered containers is an entire new level of crazy.
- klyrs 5y agoThat's what linters are for, right? To make your code more fun to read