The strpos() check would still be required for differentiating between `!str` and `! `, and all other cases, so that change would not present a perf improvement.