文件名称:cpu_caches_and_why_you_care:Scott Meyers在2014年的演讲中将C ++示例的Rust转换称为“ CPU缓存以及您为什么要关注”
文件大小:4KB
文件格式:ZIP
更新时间:2024-05-02 06:07:01
Rust
CPU缓存以及您为什么要关心 在我的macOS笔记本电脑上,我得到以下结果: [count_odds_row_major_traversal] avg = 52.22233ms mid = 52.595066ms min = 50.999287ms max = 53.521421ms [count_odds_col_major_traversal] avg = 920.038508ms mid = 922.493244ms min = 896.868147ms max = 944.147035ms [count_odds_sequential] avg = 43.272157ms mid = 42.422754ms min = 40.888349ms max = 48.806561ms [count_odds_parallel] avg = 111.844857ms mid = 112.
【文件预览】:
cpu_caches_and_why_you_care-master
----.gitignore(8B)
----src()
--------main.rs(4KB)
--------lib.rs(1KB)
----Cargo.lock(2KB)
----Cargo.toml(186B)
----README.md(604B)