Is i = i + 1 faster than ++i for C++11? I hear that ++i is faster than i++ for classes, but not for simple types. Is there a similar comparison between i = i + 1 and these other two? Thanks!
i = i + 1
++i
i++
Aucun commentaire:
Enregistrer un commentaire