Consider dropping ``Node::update()`` method
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先,在节点实现中追踪 Node::update() 及其从前驱节点向后继节点传播的调用点。检查是否有节点使用更新信息,并评估移除该信息对延迟状态更新和标量性能的影响。完成条件是确定一种方案,并完成相应的实现和验证。
由索引模型根据 Issue 内容生成。
描述
Currently the Node design includes a Node::update() method. This method is called by the node's predecessors if they have updates they want to propagate to the node. In principal this allows nodes to more efficiently check their predecessors for updates or to eagerly update their state. However, as of writing (Dec 2024) no nodes actually use this information, and many nodes don't actually call their successor's update() method.
With this in mind, we should consider dropping the notion entirely. The downside is nodes will need to always check every predecessor for updates on each propagation. And it means that all nodes will update their state lazily rather than eagerly. The upside is one less virtual method call/test. Which in the case of many scalars likely has a noticeable performance difference.
- 主要语言
- C++
- 星标
- 32
- 派生
- 38
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 20
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
dwavesystems/dwave-optimization 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
dwavesystems/dwave-optimization#505 · 1 条评论 ·
维护者通常 2 天内回复
-
enhancement question
难度 4/5 3-5 天 新手友好度 45/100
dwavesystems/dwave-optimization#699 ·
维护者通常 2 天内回复
-
enhancement
难度 4/5 3-5 天 新手友好度 48/100
dwavesystems/dwave-optimization#673 · 1 条评论 ·
维护者通常 2 天内回复
-
enhancement
难度 5/5 一周以上 新手友好度 30/100
dwavesystems/dwave-optimization#657 ·
维护者通常 2 天内回复
-
bug
难度 3/5 1-2 天 新手友好度 65/100
dwavesystems/dwave-optimization#631 ·
维护者通常 2 天内回复
查看 dwavesystems/dwave-optimization 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
维护者通常 2 天内回复
-
bug data-types
难度 2/5 1-3 小时 新手友好度 76/100
ClickHouse/clickhouse-cpp#645 ·
维护者通常 1 天内回复
-
bug compatibility difficulty:easy prio:normal
难度 2/5 1-3 小时 新手友好度 74/100
NatronGitHub/openfx-misc#524 ·
维护者通常 1 天内回复
-
documentation enhancement help wanted P0
难度 2/5 1-3 小时 新手友好度 68/100
Awesome-Embedded-Learning-Studio/Tutorial_AwesomeModernCPP#359 ·
维护者通常 1 天内回复
-
Type: Bug
难度 2/5 1-3 小时 新手友好度 82/100
openscad/openscad#7360 · 2 条评论 ·
维护者通常 1 天内回复