Mvvmicro icon indicating copy to clipboard operation
Mvvmicro copied to clipboard

Optimization: Avoid the encapsulation of stored factories in the container

Open pentacle703 opened this issue 7 years ago • 0 comments

The factories in the container are stored in a function () => factory(this), pushing a additional function on the stack when using the factory. The factory could be stored as is, and calls modified as factories[type].Item2(this) to avoid this excendentary call.

pentacle703 avatar Aug 17 '18 08:08 pentacle703