Issue #1766304: Optimize membership testing for ranges: 'n in range(...)'
does an O(1) check, if n is an integer. Non-integers aren't affected. Thanks Robert Lehmann.
Showing
Please register or sign in to comment
does an O(1) check, if n is an integer. Non-integers aren't affected. Thanks Robert Lehmann.