On Sat, 1 Aug 2020 at 02:30, Stestagg <stest...@gmail.com> wrote: > The dict keys is compact only *until* you delete an item, at which point, > a hole is left in the array >
No, the array of items has no hole. The hole is inserted in the hashtable.
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/YNL6HGGXI7HVEX7QW2YM7WCEVGXNLKSL/ Code of Conduct: http://python.org/psf/codeofconduct/