·cpu-cache-opt
{}

cpu-cache-opt

C/C++ 和 Rust 的 CPU 快取最佳化技巧。在診斷快取未命中、改進資料佈局以提高快取效率、使用 perf stat 快取計數器、了解錯誤共享、預取或建置 AoS 與 SoA 資料佈局時使用。在有關快取未命中、快取行、錯誤共享、效能快取計數器、資料佈局最佳化、預取、AoS 與 SoA 或 L1/L2/L3 快取效能的查詢時啟動。

29安裝·1熱度·@mohitmishra786

安裝

$npx skills add https://github.com/mohitmishra786/low-level-dev-skills --skill cpu-cache-opt

如何安裝 cpu-cache-opt

透過命令列快速安裝 cpu-cache-opt AI 技能到你的開發環境

  1. 開啟終端機: 開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等)
  2. 執行安裝指令: 複製並執行以下指令:npx skills add https://github.com/mohitmishra786/low-level-dev-skills --skill cpu-cache-opt
  3. 驗證安裝: 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

來源:mohitmishra786/low-level-dev-skills。

SKILL.md

查看原文

Guide agents through cache-aware programming: diagnosing cache misses with perf, data layout transformations (AoS→SoA), false sharing detection and fixes, prefetching, and cache-friendly algorithm design.

False sharing occurs when two threads write to different variables that share a cache line, causing constant cache-line invalidations.

For perf cache event reference and false sharing detection patterns, see references/cache-counters.md.

C/C++ 和 Rust 的 CPU 快取最佳化技巧。在診斷快取未命中、改進資料佈局以提高快取效率、使用 perf stat 快取計數器、了解錯誤共享、預取或建置 AoS 與 SoA 資料佈局時使用。在有關快取未命中、快取行、錯誤共享、效能快取計數器、資料佈局最佳化、預取、AoS 與 SoA 或 L1/L2/L3 快取效能的查詢時啟動。 來源:mohitmishra786/low-level-dev-skills。

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/mohitmishra786/low-level-dev-skills --skill cpu-cache-opt
分類
{}資料分析
認證
收錄時間
2026-02-22
更新時間
2026-03-10

Browse more skills from mohitmishra786/low-level-dev-skills

快速解答

什麼是 cpu-cache-opt?

C/C++ 和 Rust 的 CPU 快取最佳化技巧。在診斷快取未命中、改進資料佈局以提高快取效率、使用 perf stat 快取計數器、了解錯誤共享、預取或建置 AoS 與 SoA 資料佈局時使用。在有關快取未命中、快取行、錯誤共享、效能快取計數器、資料佈局最佳化、預取、AoS 與 SoA 或 L1/L2/L3 快取效能的查詢時啟動。 來源:mohitmishra786/low-level-dev-skills。

如何安裝 cpu-cache-opt?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/mohitmishra786/low-level-dev-skills --skill cpu-cache-opt 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用

這個 Skill 的原始碼在哪?

https://github.com/mohitmishra786/low-level-dev-skills

詳情

分類
{}資料分析
來源
skills.sh
收錄時間
2026-02-22