Dmitry

Results 7 comments of Dmitry

> Just thinking. Slowness of generic `CreateComponent` might come from usage of `Activator.CreateInstance();` it can safely be changed to `new T()`. Actually, `new T()` in generic method turns into `Activator.CreateInstance()`...

In fact, yes, IX is in separate assembly, because of asmdef

> Are you using .Net 4.x? The instruments screenshot is made with project build with 2018.1.9 with .net 4.x backend

This one is made with 2018.3.4 with .net 4.x scripting backend ![image](https://user-images.githubusercontent.com/19802630/53567084-30f0b200-3b6f-11e9-9485-a8da2a21ed80.png)

Did some research on why this method is even used in the Stack, it seems that this "optimization" is now included in dotnetcore and relies heavily on JIT compiler optimizing...

Can confirm, TimeSpan deserialization and Datetime serialization crash on android with il2cpp with `signal 7 (SIGBUS), code 1 (BUS_ADRALN)` It sounds a lot like #37

I would also like to add that crash doesn't happen if `((offset%4) == 0)` which is indication that the issue is with ARM alignment requirements. But the exact reason eludes...