-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 2.7.2
-
Component/s: Json, Performance
-
None
-
Environment:Any, its about C# driver doing same, but faster :)
-
Fully Compatible
-
Not Needed
-
JsonWriter.EscapedString implementation uses anonymous function that touches instance private method - forces compiler to capture scope with 'this' for each =\
We can switch from .All LINQ to hand written method to avoid object allocation each time method called (super-often).
Thanks.
- is related to
-
CSHARP-2442 Increase StringBuilder capacity during instantiation
- Closed