I believe that the internal ToBoolean() , which is executed by the result of the expression, is slightly slower if it is assigned a number compared to the boolean job.
In this test, I get a performance difference when converting to boolean from a logical number and a number with !! .
source share