Investigate performance effects of current structure
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- リファクタリング
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- opencv, python
調査の方向性
まず、現在の VideoReader、LockedCamera、LockedScreen の実装を見つけ、cv2.VideoCapture を直接使用する同等のクラスとベンチマークで比較します。同じ条件で関連する操作を比較し、パフォーマンスの差を定量化し、構造的な変更または使用方法のガイダンスの必要性を文書化できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Motivation:
Every convenience comes at a cost, but quantifying the cost makes it possible to determine whether it's "too expensive".
Suggested Method
Currently use a combination of inheritance and composition, which make modification and new base classes really simple to implement and use, but may come at a performance cost. Would be good to quantify the difference between the current situation and e.g. the 'best-case' performance of VideoReader, LockedCamera, and LockedScreen being implemented with cv2.VideoCapture as their direct parent class.
Possible Resulting Changes
If performance difference is significant, it may be worth
- making a code-generator that can trade off some program memory for the benefit of fewer function calls at each step
- changing code structure (hard to recommend - very versatile at the moment, and repetition is a 'bad smell')
- recommending this library for rapid development, and more optimised code once development is complete (e.g. lower level looping, or just C++ implementation)
- 主要言語
- Python
- スター
- 45
- フォーク
- 3
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ES-Alexander/pythonic-cv のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
ES-Alexander/pythonic-cv#21 · コメント 1 件 ·
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
ES-Alexander/pythonic-cv#14 ·
-
enhancement good first issue
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
ES-Alexander/pythonic-cv#12 ·
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
ES-Alexander/pythonic-cv#11 ·
-
invalid
ES-Alexander/pythonic-cv#8 · コメント 1 件 · 担当者 1 名 ·
ES-Alexander/pythonic-cv の issue をすべて見る
似ている issue
-
essnmx good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
-
[Feature] 奇物选择添加优先级 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
syfoud/Simulated_Scepter#174 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Giskard-AI/giskard-oss#2840 · コメント 1 件 ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success オープンarea: repo bug perceived difficulty: 2
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
yeti-platform/yeti#1380 ·