News for hackers. Stuff that matters.
Re:Performance Analysis of Python's Dict() and {} by alanwreath on Tuesday January 23, 2024 @01:22PM (#39107362)
never seen

    {*()}
    
but I guess it is equivalent to

    set()
    
I've noticed this in python in another place

    f"{var}"
    
is the same as

    str(var)
    
there was some other place I can't recall also noticing that (at least my perception understands that) Python is trying to kill my code golf tendencies.

That said, it's probably just my own superstition and of course it doesn't remove my premature optimization tendencies...

There are no comments on this comment yet.