Optimize integral ToString (without generics) (#32528)
authorts2do <tsdodo@gmail.com>
Wed, 19 Feb 2020 07:18:47 +0000 (01:18 -0600)
committerGitHub <noreply@github.com>
Wed, 19 Feb 2020 07:18:46 +0000 (23:18 -0800)
commit7c7e8edbf02a17c1c0fb307f5483f1b91cc8fd4c
tree717e962b8220dcef11a68b8aebb59a9b083614c1
parentb49ab01db607606ddb2741615e7c06131847cbf8
Optimize integral ToString (without generics) (#32528)

- Make the fast path for Number.FormatXX & Number.TryFormatXX inlineable
- Make parameterless ToString in SByte, Int16, Int32, and Int64 directly invoke the default formatting method
src/libraries/System.Private.CoreLib/src/System/Int16.cs
src/libraries/System.Private.CoreLib/src/System/Int32.cs
src/libraries/System.Private.CoreLib/src/System/Int64.cs
src/libraries/System.Private.CoreLib/src/System/Number.Formatting.cs
src/libraries/System.Private.CoreLib/src/System/SByte.cs