1 Star 2 Fork 1

wenqzheng/Building-Low-Latency-Applications-with-CPP

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
loop_unroll.cpp 268 Bytes
一键复制 编辑 原始数据 按行查看 历史
int main() {
{ // original code.
int a[5];
a[0] = 0;
for(int i = 1; i < 5; ++i)
a[i] = a[i-1] + 1;
}
{ // loop unrolled code.
int a[5];
a[0] = 0;
a[1] = a[0] + 1;
a[2] = a[1] + 1;
a[3] = a[2] + 1;
a[4] = a[3] + 1;
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wenqzheng/Building-Low-Latency-Applications-with-CPP.git
git@gitee.com:wenqzheng/Building-Low-Latency-Applications-with-CPP.git
wenqzheng
Building-Low-Latency-Applications-with-CPP
Building-Low-Latency-Applications-with-CPP
main

搜索帮助