什么会更快?这个:
sprintf(&str[strlen(str)], "Something");
要么
strcat(str, "Something");
有任何性能差异吗?
c coding-style
c ×1
coding-style ×1