AllenCell / AllenCell/allencell-segmenter-ml

Explore alternative solutions for channel extraction multithreading

未关闭
#205 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
low priority refactor
主要语言
Python
星标
5
派生
3
PR 合并指标
30 天内没有已合并 PR

描述

Boiled down version of @hughes036 and my discussion on `prediction/service.py` implementation of channel extraction:
- current solution works, but may not be idiomatic
- creating threads and destroying them may be too expensive
- constraints:
1. most recently created thread must be the only thread that has an effect on UI
2. cannot drop references to running threads (causes Qt to crash)
3. thread work should not 'pile up' (they should be able to run in parallel, as much as python is able to do that)
- things to look into:
1. `asyncio`
2. thread pool solutions (`QThreadPool` e.g.)
3. 'debouncing'

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。