====== 单独循环与分开循环 ====== 有两个相同功能代码如下,请在在A,B,C是什么的情况下,请给出三个原因case 1比case 2快,还有三个原因case 2会比case 1要执行的快。(不考虑编译器优化) ===== case 1 ===== for (i=0; i ===== case 2 ===== for (i=0; i ===== 参考 ===== * http://programmers.stackexchange.com/questions/64132/interesting-interview-question * http://coolshell.cn/articles/4162.html