HMM model load speed
オープン
question
- 主要言語
- Cython
- スター
- 170
- フォーク
- 20
- 平均マージ
- 58分
- マージ済み PR(30日)
- 1
説明
I noticed in my own work that the pyhmmer HMMFile loading interface is not particularly performant. It's a hacky fix, but:
import io
with open(hmmfile, 'rb') as fh:
with HMMFile(io.BytesIO(fh.read()) as hmm_file:
...
Is about 20-50x faster than using the HMMFile parser directly on the file path on my platform. I'm on WSL - it could be wierdness that way.
コントリビューションガイド
評価
この issue はまだ評価されていません。