Potentially slow iteration for setting condition value units
还没有人认领这个 Issue。
评估
调研方向
从 cf/query.py 的第 890-896 行以及 pull request 427 中的相关讨论开始,重点关注如何处理由 Data 对象表示的条件值。在 lama-to-dask 分支上确认其行为,并在避免遍历大型 Data 对象的同时保留现有的单位设置结果。
由索引模型根据 Issue 内容生成。
描述
As noted by @davidhassell in the review thread https://github.com/NCAS-CMS/cf-python/pull/427#discussion_r1040910208, the crux being:
if a large set is stored as a Data object, as opposed to a python built-in like a list, then iterating through it could be slow
relating to the code (currently on the lama-to-dask branch only):
with a suggested solution of:
For the Data object case we could just change the units without iterating through.
- 主要语言
- Python
- 星标
- 150
- 派生
- 23
- 平均合并
- 1 天 11 小时
- 30 天内合并 PR
- 2
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NCAS-CMS/cf-python 的其他 Issue
-
code tidy
难度 2/5 1-3 小时 新手友好度 76/100
-
bug?
-
release
-
enhancement
-
bug
难度 3/5 1-2 天 新手友好度 45/100
查看 NCAS-CMS/cf-python 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 86/100
zostera/django-bootstrap4#894 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
use-agent-os/agent-os#3276 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
难度 2/5 1-3 小时 新手友好度 88/100
NousResearch/hermes-agent#117848 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
zilliztech/memsearch#759 ·