Commit 589ee85
committed
If no updates during
If a call to `SetValue()` doesn't have `markDirty` or `version` set, and an existing `TrackedRecord<>` exists with the same `Value`, then don't create and store a new record; instead, just return, as there's nothing to update here. This is a minor performance improvement, since there's no reason to create a new instance of a `TrackedRecord<>` here. Notably, this impacts `Refresh()`, `Rollback()`, and the OnTopic Editor.SetValue(), return1 parent 3cf5ab0 commit 589ee85
1 file changed
Lines changed: 3 additions & 0 deletions
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
464 | 467 | | |
465 | 468 | | |
466 | 469 | | |
| |||
0 commit comments