News for hackers. Stuff that matters.
Re:Pycraft: Minecraft engine in Python by daveguy on Tuesday April 19, 2016 @08:07AM (#11526356)
It may be O(1), but the constant of a __contains__ method is almost certainly much higher than the constant of an if 1 <= len(vals) <= 5: statement.

There are no comments on this comment yet.