Vectorize some Guid APIs (ctor, TryWriteBytes) (dotnet/coreclr#21336)
authorEgor Bogatov <egorbo@gmail.com>
Mon, 3 Dec 2018 22:56:38 +0000 (01:56 +0300)
committerJan Kotas <jkotas@microsoft.com>
Mon, 3 Dec 2018 22:56:38 +0000 (14:56 -0800)
commite459a64fa6bed4ed3f3e1c54ee12fd4086c2cc0d
tree765be980b44e07447b62059657e8e1e889746290
parent465fd1d2ab4bf3ed088ad07362696908c89ef50d
Vectorize some Guid APIs (ctor, TryWriteBytes) (dotnet/coreclr#21336)

* Optimize some Guid APIs

* get rid of WriteByteHelper

* use TryWrite instead of Write

* Optimize ctor `Guid(ReadOnlySpan<byte> b)` and remove `Equals` optimization (move to separate PR).

Commit migrated from https://github.com/dotnet/coreclr/commit/248449d08f5436fbeb140a6011e412f2fea4621f
src/libraries/System.Private.CoreLib/src/System/Guid.cs