Implement a palindrome function that works with non-clean inputs and is as performant as possible.
Treat only ASCII letters and digits as significant, ignore whitespace and punctuation, and compare letters case-insensitively. Return a Boolean without constructing a cleaned copy of the input.
Function: def is_palindrome(s):
Input: one string. Output: True if the significant characters read identically forward and backward, otherwise False.
def is_palindrome(s):