Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace bool[] arrays with Span<bool> in XML deserialization
The XML deserializer tracks for each property whether it's already been seen in the input being deserialized, and to do that the reader allocates a bool[] array. We can instead stackalloc that for a reasonable number of properties.
- Loading branch information