-Performance

This commit is contained in:
James Newton-King
2013-03-30 16:59:08 +13:00
parent 2bf88ebba0
commit 73187dde1e
3 changed files with 74 additions and 3 deletions
+1 -3
View File
@@ -1185,9 +1185,7 @@ namespace Newtonsoft.Json
}
else
{
string number = _stringReference.ToString();
numberValue = Convert.ToInt32(number, CultureInfo.InvariantCulture);
numberValue = ConvertUtils.IntParseFast(_stringReference.Chars, _stringReference.StartIndex, _stringReference.Length);
}
numberType = JsonToken.Integer;