Skip to content

Change bitwise to logical OR

Sean McBride requested to merge seanm/vtk:bitwise-to-logical into master

Semantically, logical OR is what is desired here. I suspect the use of bitwise was a performance hack for old hardware. Logical OR can short circuit, giving the compiler an optimisation opportunity.

Merge request reports

Loading