• @sloppy_diffuser
    link
    English
    47 months ago

    for i in itertools.count(): ... will count to infinity.

    Better make it into a dictionary so it’s O(1) complexity instead of O(n) while you’re at it.