There are additional efficiencies if the operators are commutative and associative in addition to being idempotent.