diff options
author | Stephen Toub <stoub@microsoft.com> | 2018-06-29 13:31:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-29 13:31:51 -0400 |
commit | c209f0bf2b0eb5bc6e0a35253457e2f9919f28dc (patch) | |
tree | 36a7f48a3572904127b5d4ef2b1b33ebe23da777 /build-test.cmd | |
parent | 13e760637a4162f825cad6ba6cc27706cb96feef (diff) | |
download | coreclr-c209f0bf2b0eb5bc6e0a35253457e2f9919f28dc.tar.gz coreclr-c209f0bf2b0eb5bc6e0a35253457e2f9919f28dc.tar.bz2 coreclr-c209f0bf2b0eb5bc6e0a35253457e2f9919f28dc.zip |
Improve bool.TryFormat perf (#18711)
* Improve bool.TryFormat perf
Improves throughput by ~50%, by avoiding AsSpan().CopyTo and just writing out the characters one-by-one. I experimented with playing the same tricks around storing the data in a ulong and blitting it out to the destination reinterpreted as a span of ulongs, but it didn't make a measurable improvement and increased the code complexity.
* Update Boolean.cs
Diffstat (limited to 'build-test.cmd')
0 files changed, 0 insertions, 0 deletions