public int RunStaticDirect() { var ret = 0; for (var i = 0; i < N; i++) { ret = CallbackRunner.RunStatic(() => 0); } return(ret); }
public int RunStaticUseCall() { var ret = 0; for (var i = 0; i < N; i++) { ret = CallbackRunner.RunStatic(() => CallbackFunction.Function()); } return(ret); }
public int RunStaticUseCache() { var ret = 0; for (var i = 0; i < N; i++) { ret = CallbackRunner.RunStatic(cache); } return(ret); }
public int RunStaticUseMethod() { var ret = 0; for (var i = 0; i < N; i++) { ret = CallbackRunner.RunStatic(CallbackFunction.Function); } return(ret); }
public int RunStaticUseStaticCache1() { var ret = 0; for (var i = 0; i < N; i++) { ret = CallbackRunner.RunStatic(i, StaticCache1); } return(ret); }