@Venomous75 Although i learning programming as hobby im not good in such things.
For example on gcc which can compile program there is directive O3 and O2 which make code smaller and faster.
Optimization level 3 and 2.
Some cores should use JIT i think and from wikipedia:
GCC and other compiler called Clang do this before running program.
In retroarch as you know there is option load core you nawigate to path for core then load it.
But it seems that android version from retroarch download cores from their servers:
index - powered by h5ai v0.29.0 (https://larsjung.de/h5ai/)
buildbot.libretro.com
Usually new versions fix bugs but just like my os use more computing power.
I can compile retroarch on my linux and do porting but with every core it will take some time.
One more thing try other input driver for my gamepad in sdl driver its detects buttons automatically.
It involves update controller profile and adjust then save.
Thats all for now.