![]() | RoslynEvaluatorLoadCompilers Method |
Roslyn compilers are extremely heavy and loading the compiler assemblies for with the first evaluation call can take a significant time to complete (in some cases up to 4 seconds) while the consequent calls are very fast.
You may want to call this method to pre-load the compiler assembly your script evaluation performance.
Namespace: CSScriptLib
public static void LoadCompilers()