Re:The Serde Rust Framework
by ahahahahah on Friday October 15, 2021 @08:27PM
(#28884591)
> If type inside of Option<_> has invalid values
Can it actually use any general invalid bit pattern? I expect that it only supports an optimization for values that cannot be zero (and then it uses zero to indicate None).
Can it actually use any general invalid bit pattern? I expect that it only supports an optimization for values that cannot be zero (and then it uses zero to indicate None).