There is a caching mechanism in place (23 Feb) , however it is not thread safe. the R engine is by and large not thread safe anyway, but this is no reason to add on top of it. Consider maybe T4 code gen to generate code that creates and cache delegates at DLL load time. Assess performance gains if possible.
↧