DeepEqual icon indicating copy to clipboard operation
DeepEqual copied to clipboard

Fix differences duplication in dict compare

Open Dykam opened this issue 4 years ago • 1 comments

.VisitingIndex makes a copy of the entire context, which then gets merged with the same original context, duplicating the Differences. In case a difference was detected at the start of a dictionary, you end up with 2^keys amount of duplicate differences.

Fix this by creating a new empty context for the inner comparison.

Dykam avatar Aug 11 '20 14:08 Dykam

Wow we had weeks of stress because of this bug. Highly encourage this PR to be merged

evdkramer avatar Aug 19 '20 10:08 evdkramer

Thanks for the report. Fixed in 4.0.0

jamesfoster avatar Aug 20 '22 12:08 jamesfoster