News for hackers. Stuff that matters.
Re:Python Numbers Every Programmer Should Know by superlopuh on Friday January 02, 2026 @05:21AM (#46463383)
I'm surprised that the `isinstance()` comparison is with `type() == type` and not `type() is type`, which I would expect to be faster, since the `==` implementation tends to have an `isinstance` call anyway.
Re:Python Numbers Every Programmer Should Know by superlopuh on Friday January 02, 2026 @05:22AM (#46463391)
Also seems like the repo is now private, so I can't open an issue, or reproduce the numbers.