Skip to content
Commit 2c5b7cac authored by Tomaz  Canabrava's avatar Tomaz Canabrava
Browse files

Don't check what doesn't needs to be checked.

the QBitArray knows how to deal with true / false
directly, so remove the if's. the speedgain of the
if's are probabely slower than just setting the values
to true / false again anyway as we are not suffering
from a possible branch-prediction, and plus, code is
cleaner.
parent 2848f562
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment