Vectorize some Guid APIs (ctor, TryWriteBytes) (#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)
commit248449d08f5436fbeb140a6011e412f2fea4621f
treee82711b68703e7b57b81e266f84c063c866e1378
parent20c6bc555319aa635e0e490c82aebf0bb370d6c1
Vectorize some Guid APIs (ctor, TryWriteBytes) (#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).
src/System.Private.CoreLib/shared/System/Guid.cs