i + = a应该等于i = i + a.在a == 1的情况下,这被认为效率低于++ i,因为它涉及更多的内存访问; 或者编译器会使它与++ i完全相同吗?
c# performance increment
c# ×1
increment ×1
performance ×1