3 ms·
That's "arbitrary", and not random at all. Some basic testing shows that the same dictionary keys will always lead to the same popitem order.
by ivank 18y ago
That's "arbitrary", and not random at all. Some basic testing shows that the same dictionary keys will always lead to the same popitem order.
- antirez 18y agoI bet this scan the table from the first to the last bucket.
- anuraggoel 18y agoCorrect, nice catch.