gpt4 book ai didi

c++ - 运算符 x++;和++x;对于 int。哪个更快?为什么?

转载 作者:太空狗 更新时间:2023-10-29 20:30:04 26 4
gpt4 key购买 nike

<分区>

Possible Duplicate:
Is there a performance difference between i++ and ++i in C++?

他们说 ++i 更快,但我不明白为什么。谁能告诉我这些运算符的汇编代码?

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com