Avoid unnecessary memory allocation and copying in wasm transport layer

オープン
#134 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
説明が足りない
活発さ
静か
技術スタック
cpp, wasm
領域
performance

調査の方向性

まず wasm トランスポート層を見つけ、JavaScript と C++ の間でデータがどのようにマーシャリングされるかを追跡します。最初に一時バッファの割り当てとデータのコピーを測定します。トランスポートの動作を変更せずに不要な割り当てやコピーを削減できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement

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分
マージ済み PR(30日)
4

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

QuantStack/git2cpp のほかの issue

QuantStack/git2cpp の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。