Using === would always be faster because engine doesn't have to check and convert values to the same type.
=== actually does it :). we need real metrics to be sure :)
=== does strict comparison, it does not convert different types to same one - that's why it's "strict".
here's a naive benchmark - it's nearly 2x faster
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.