Exploration: Holding Operators
未关闭
enhancement
- 主要语言
- Rust
- 星标
- 25
- 派生
- 2
- PR 合并指标
- 30 天内没有已合并 PR
描述
Sometimes stuff needs to be re-calculated based on something every frame. These operators help "holding" a cached value for an amount of time, and re-emitting them at every tick.
- Held items should not be cloned, but replayed behind a read only pointer.
- Or if it's writable, maybe taking it would stop the hold prematurely
Note: This may be unneeded or even counter-productive, as there are other solution to keep referring to an unchanged value while reacting to something faster.
贡献指南
评估
这个 Issue 还没有评估数据。