摘要: 概述 要想高速利用内存就必须高效利用cpu cache,关于cpu cache这里就不多加讨论了,自己感兴趣可以google 而cpu访问内存的单位是cache line,因此高效利用cache line是写c程序的必要条件 __attribute__ 作用于结构体内部变量 输出为8,因为编译器会默 阅读全文
posted @ 2016-11-30 17:40 于杨 阅读(471) 评论(0) 推荐(0) 编辑