mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 04:30:24 +01:00
This change makes the code behave how it was supposed to work when first written. The avail_slot variable is set to the first free slot when looking for a key (which would come from deleting an entry). So it's more efficient (for subsequent lookups) to insert a new key into such a slot, rather than the very last slot that was searched.
14 KiB
14 KiB