Commit 519892b
committed
Merge branch 'improvement/SetValue-no-update' into release/5.1.0
If calling `TrackedRecordCollection<>.SetValue()` without any updates—i.e., an existing record is present, but the `Value` hasn't changed, and neither `markDirty` nor `version` are specified—then return without further processing. In that case, there's no need to create a new instance of the record, to potentially call the property on the corresponding `Topic`, or to store the new record in the collection. This is a minor performance enhancement.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