Jon Hanna dcae8e220d Some optimisations to async reading. (#1171)
MoveToContentAsync is often called in states where it will immediately
return true without any reading. In this case return AsyncUtils.True
avoiding allocation or async state-machine.

DoReadAsync is a very heavily hit method, and can often be fulfilled
without creating another state machine, so do this.

The remaining looping async case is the only use of ParsePostValueAsync,
so inline it into the calling method, so there is one less task
allocation.

Return value of EatWhitespaceAsync is never used, returning void reduces
the number of locals an hence the size of the state-machine. Do the same
for EatWhitespace though the impact is less.
2017-01-13 20:41:18 +13:00
2017-01-03 12:24:01 +13:00
2014-09-12 21:43:17 +12:00
2014-07-01 09:16:28 +12:00
2013-07-25 16:07:02 +12:00
2016-01-17 10:55:54 +13:00
S
Description
Json.NET 是一种适用于 .NET 的常用高性能 JSON 框架
https://github.com/JamesNK/Newtonsoft.Json.git
Readme
27 MiB
Languages
C# 99.3%
PowerShell 0.7%