apertium / apertium/apertium-python
Optimize wrappers
未关闭
enhancement
- 主要语言
- Python
- 星标
- 35
- 派生
- 27
- PR 合并指标
- 30 天内没有已合并 PR
描述
While our wrappers avoid the extra process overhead, I think they can still be improved.
e.g. we only need to run https://github.com/apertium/lttoolbox/blob/master/python/lttoolbox.i#L23-L24 one time for any given `Analyzer` object
On another note, we should also try to do something smarter instead of re-opening files everywhere (but this might be harder to get working).
@unhammer, is doing the first thing I mentioned (i.e. only loading the dictionary once) meaningful in terms of improving performance? Sounds to me like it would be.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。