Problematic `== true/false` boolean comparisons

So my main source for this is the link I put in the post at top:

Basically the compiler has more stuff to resolve to decide what to do when it sees ==, as opposed to boolExpr or !boolExpr.

Yet another way in which ! and == bool are distinct, despite surface appearances.

(I've not re-validated the finding of slower compilation (yet) so not sure of current performance.)

2 Likes