Skip to content

FastExpressionCompiler

chaowlert edited this page Sep 9, 2018 · 4 revisions

Need more speed? Let's compile with FastExpressionCompiler.

Getting the package

 PM> Install-Package FastExpressionCompiler

Then add following code on start up

TypeAdapterConfig.GlobalSettings.Compiler = exp => exp.CompileFast();

That's it. Now your code will enjoy performance boost 1.3 to 4.0 times faster!

Clone this wiki locally