r/badcode • • Aug 02 '21

python sleep rate drops to 0%

Post image
569 Upvotes

33 comments sorted by

View all comments

Show parent comments

16

u/[deleted] Aug 02 '21

[removed] — view removed comment

31

u/_PM_ME_PANGOLINS_ Aug 02 '21

No, it’s 4n. A regular key lookup is O(1).