Comment Comment by gpugreg Because the use case is very niche and nobody optimized it yet.https://github.com/python/cpython/issues/135824#issuecomment...`x in range(n)` is already optimized, but that was easier since the `__contains__` method already existed, but an equivalent `__min__` or `__max__` does not. parent gpugreg 2 months ago
https://github.com/python/cpython/issues/135824#issuecomment...
`x in range(n)` is already optimized, but that was easier since the `__contains__` method already existed, but an equivalent `__min__` or `__max__` does not.