prevent v8 deoptimization on style diffing fn