What is the performance of difference ways of Instance Creation between Mono
and IL2CPP
?
- Direct Create Instance
- Compile Expression, then DynamicInvoke
- Compile Expression<Func<object[], object>>, then cast to Func<object[], object>, then Invoke
- Compile Expression, the cast to Func then Invoke directly (not suitable for parameter constructor)
- ConstructorInfo.Invoke
- cached ConstructorInfo, then Invoke
- Activator.CreateInstance
Aucun commentaire:
Enregistrer un commentaire