About Cacher
Web App
Download
Sign In
Sign Up
menu
Cacher is the code snippet organizer for pro developers
We empower you and your team to get more done, faster
Learn More
Akagi201
9/7/2014 - 1:23 PM
share
Share
add_circle_outline
Save
duffs_device.md
duffs_device.md
content_copy
file_download
Rendered
Source
Specs
Duff's device 是一个串行拷贝(serial copy)的最优化的实现, 使用广泛应用在汇编语言的循环展开(loop unwinding)的技术.
这个可能是目前为止,C语言中, 最戏剧性的使用case label fall-through.
Duff没有什么提出发现了循环展开(loop unrolling)的概念, 仅仅是在C语言中使用了这个表达式.
clear