Modify `Logic.changed` to trigger on `postTick` only after `glitch`
Open
enhancement
good first issue
- Dominant language
- Dart
- Stars
- 489
- Forks
- 88
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 10
Description
## Motivation
With the current implementation, if a signal is being listened to for `changed`, then it triggers an action on every `preTick` and `postTick` of the simulator. This is probably less efficient than it could be for simulator performance.
## Desired solution
It could be more efficient if listening to `preTick` was eliminated and `postTick` was only listened to after a `glitch` which caused a change.
## Alternatives considered
Leave it as-is.
Contributor guide
Assessment
This issue has not been assessed yet.