Discover why Python's range objects perform lightning-fast membership tests even with astronomical numbers. Learn about the mathematical optimizations that make range() operations O(1) time complexity.