Is checking a byte before setting it optimal?

前端 未结 0 651
执念已碎
执念已碎 2021-01-24 06:12

Is if(foo) bar |= foo; more optimal than just bar |= foo;?

What about if(foo) bar = foo; and bar = foo;? Is reading da

相关标签:
回答
  • 消灭零回复
提交回复
热议问题