-
Type: Improvement
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: BSON
ValueDecoder's and ValueEncoder's should check if a value is settable or valid, respectively first, before checking if checking if the next value from the ValueReader or ValueWriter is valid. Previously, this was checked first because there was a fast path for many Decoders and Encoders which no longer exists, so checking for a settable or valid value first makes sense and is consistent.