在C++中使用int进行x >= 0比较比效率更高x > -1?
x >= 0
x > -1
c++ optimization micro-optimization
c++ ×1
micro-optimization ×1
optimization ×1