Feature request: `Async` codec
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- julia
- 領域
- data, performance
調査の方向性
まず、TranscodingStreams の codec interface と、既存の解凍および圧縮 codec の動作を確認します。トランスコーディングが別の task で実行されることを保証しながら、Async wrapper が入力、内部バッファ、出力をどのように調整するかを定義します。提案した codec が任意の TranscodingStreams codec で動作し、期待される stream の動作を維持できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
As far as I can tell, TranscodingSteams (TS) is currently mostly used for de/compression codecs, which are quite CPU-intensive. In this case it would be beneficial to allow the de/compression to happen in a separate thread concurrently.
I think this can be solved by having an Async codec that wraps any TS, such that the underlying stream's transcoding happens in another thread. More specifically, Async could carry an internal buffer B along with its input (I) and output (O) buffers. When O runs dry, it will copy data from B to O, then schedule the transcoding from I to B.
I believe this codec should be in TS and not a separate package because:
- It's near-universally useful for users of TS
- The
Asynccodec might have to reach into TS's internals for efficiency, to make sure the underlying TS really does run its transcoding in a different task.
- 主要言語
- Julia
- スター
- 90
- フォーク
- 26
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
JuliaIO/TranscodingStreams.jl のほかの issue
-
Allow generic `DenseVector{UInt8}` as input/output対応中かも @nhz2 が 460 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
JuliaIO/TranscodingStreams.jl#247 · コメント 2 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 30/100
JuliaIO/TranscodingStreams.jl#246 · コメント 1 件 ·
-
Support libaec?オープン
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
JuliaIO/TranscodingStreams.jl#207 · コメント 2 件 ·
-
API for Bufferオープン
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
JuliaIO/TranscodingStreams.jl#202 · コメント 2 件 · リアクション 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
JuliaIO/TranscodingStreams.jl#188 ·
JuliaIO/TranscodingStreams.jl の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
question
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
brown-ccv/Chamber.jl#272 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
JuliaAstro/SolarPosition.jl#143 ·
-
distributions
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
JuliaBayes/Wren.jl#404 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
JuliaAI/MLJTransforms.jl#113 ·
メンテナーはふだん 1 日以内に返信