Avoid unnecessary memory allocation and copying in wasm transport layer
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 重構
- 描述清晰度
- 需要釐清
- 活躍度
- 冷清
- 技術堆疊
- cpp, wasm
- 領域
- performance
研究方向
先定位 wasm 傳輸層,並追蹤資料如何在 JavaScript 和 C++ 之間進行編組。先測量暫存緩衝區配置和資料複製;在不變更傳輸行為的情況下減少不必要的配置或複製,即表示完成。
由索引模型根據 Issue 內容生成。
描述
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.
- 主要語言
- C++
- 星號
- 6
- 分支
- 5
- 平均合併
- 4 小時 22 分鐘
- 30 天內合併 PR
- 4
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
QuantStack/git2cpp 的其他 Issue
-
enhancement
難度 5/5 一週以上 新手友好度 42/100
QuantStack/git2cpp#131 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 35/100
QuantStack/git2cpp#62 ·
-
難度 5/5 一週以上 新手友好度 35/100
QuantStack/git2cpp#51 · 1 則留言 ·
-
難度 3/5 1-2 天 新手友好度 45/100
QuantStack/git2cpp#50 ·
-
難度 5/5 一週以上 新手友好度 30/100
QuantStack/git2cpp#49 ·
查看 QuantStack/git2cpp 的全部 Issue
相似的 Issue
-
Website Doc Typo 未關閉
難度 1/5 1 小時以內 新手友好度 92/100
-
難度 1/5 1-3 小時 新手友好度 92/100
autowarefoundation/autoware_universe#13413 ·
-
難度 2/5 1-3 小時 新手友好度 88/100
-
automated-analysis bug memory-safety
難度 2/5 1-3 小時 新手友好度 68/100
-
難度 2/5 1-3 小時 新手友好度 88/100