WordQuery
WordQuery copied to clipboard
[特征] 能否通过并行加速查询单词?
添加单词后需要批量查询意思,虽然能选中然后查询,但是当单词很多而且是从网络上爬取解释时,一个单词会花去大概三四秒偶尔更多。 所以能不能在批量查询时,把任务分配到多个线程或协程加速查询吗?
vote this
多线程版https://github.com/sth2018/FastWordQuery
@sth2018 谢谢开发,尝试一下
Note that online queries should be rate limited, I don't think we need multi thread. If you have so much cards, leave your PC run it at night.
@GarrisonBaird 赞成,现在查询每个单词时会使用多线程对多个字典进行抓取,但是对多个单词同时进行抓取时,可能会导致接口被封。