Reflex icon indicating copy to clipboard operation
Reflex copied to clipboard

IL2CPP (AOT) performance using Expressions

Open gustavopsantos opened this issue 4 years ago • 0 comments

The expression trees implementation used for AOT platforms is an interpreter, so it is pretty slow compared to a JIT compiler like Mono. We need to check if theres a good way (clean, readable and scalable) to implement a IL Reweaver.

References:

  • https://forum.unity.com/threads/are-c-expression-trees-or-ilgenerator-allowed-on-ios.489498/page-2
  • https://answers.unity.com/questions/1731418/il2cpp-compiled-expressions-performance.html
  • https://github.com/dotnet/runtime/issues/17973

gustavopsantos avatar Aug 27 '21 19:08 gustavopsantos