`valueWouldChange` does not check whether `newValue` is a `CBLDictionary`
blaugold opened this issue · 1 comments
blaugold commented
Instead of checking whether newValue
is either a CBLArray
or a CBLDictionary
the code checks whether it is a CBLArray
twice. It does not cause wrong behavior, but partially circumvents the optimization of not comparing collections.
couchbase-lite-ios/Objective-C/Internal/CBLFleece.mm
Lines 134 to 135 in 7d97244
pasin commented
Good catch!!. Thanks for reporting this.