-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests and improve binary XmlDictionaryReader performance (#73332)
* Read primitive types more efficient * Allow stream to read more than minimum number of required bytes * Remove pinning and pointer code from array reads * Remove bounds checks from remaing array reads * remove extra unchecked * cleanup code * Start adding tests * Add tests for binary XmlDictionaryReader * cleanup * revert back to old byte read * add test for arrays using "ref" enumeration * add guid test * Try to read while arrays from stream before processing * Write guid arrays as memory on LittleEndian platforms * Update tests to be independent of byte order * FIx bugs introduced in #71752 * Add missing Advance to prevent corruption of reader * Correctly read decimal values
- Loading branch information
1 parent
00f34fb
commit 5dbdde9
Showing
6 changed files
with
405 additions
and
210 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.