Remove Substring in TimeZoneInfo parsing (dotnet/coreclr#18378)
authorEric Erhardt <eric.erhardt@microsoft.com>
Sat, 9 Jun 2018 03:09:04 +0000 (22:09 -0500)
committerGitHub <noreply@github.com>
Sat, 9 Jun 2018 03:09:04 +0000 (22:09 -0500)
commit49b242596be9cb87edaabbfc32ee415bca7fd2b4
treebe0b476126f85e2afd8ac24ade268fde959467a5
parentd005d280816e05d96b969501521e4c99e50ab119
Remove Substring in TimeZoneInfo parsing (dotnet/coreclr#18378)

* Remove Substring in TimeZoneInfo parsing

Convert Substring to Slice to eliminate string allocations while parsing Posix daylight savings rules.

Commit migrated from https://github.com/dotnet/coreclr/commit/91bd5a6a36be3949b879793cfca914e666d89845
src/libraries/System.Private.CoreLib/src/System/TimeZoneInfo.Unix.cs