QuantStack / QuantStack/git2cpp
Avoid unnecessary memory allocation and copying in wasm transport layer
未關閉
還沒有人認領這個 Issue。
enhancement
- 主要語言
- C++
- 星號
- 6
- 分支
- 5
- 平均合併
- 4 小時 22 分鐘
- 30 天內合併 PR
- 4
描述
There are opportunities to improve the performance of the wasm transport layer. It necessarily includes marshalling of data between JavaScript and C++, but I think some of this can be improved as there are some unnecessary allocations of temporary buffers where we can probably just reuse the same buffer, and we may well be doing more copies of data than are strictly necessary.
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先定位 wasm 傳輸層,並追蹤資料如何在 JavaScript 和 C++ 之間進行編組。先測量暫存緩衝區配置和資料複製;在不變更傳輸行為的情況下減少不必要的配置或複製,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- cpp, wasm
- 領域
- performance
- Issue 類型
- 重構
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 冷清
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100