Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 24 Nov 2003
Offline Last Active Jun 09 2016 05:51 AM

#5235503 Very slow loading of bytecode on iOS

Posted by on 18 June 2015 - 09:41 AM



Currently we optimizing loading time of our application. Now 11 seconds needed to start application. After profiling we found that approximately 3 seconds needed to load byte code. According profile almost all time was spended in asCReader::Reader(bool*). More details are visible on screenshot - http://rghost.ru/7sxkVzWv8


It is possible to speed up loading of byte code? Loading speed are very critical to us and without your help we can't achieve satisfying result.

#5211195 AngelScript iOS x64

Posted by on 17 February 2015 - 09:35 AM

I will try to describe what happens before crash.


When Null pointer exception occurs SetInternalException(TXT_NULL_POINTER_ACESS) are called. Then m_engine->CallObjectMethod(m_exceptionCallbackObj, this, &m_exceptionCallbackFunc, 0); are called. After that crash occurs on (((asCSimpleDumm*) obj)->*f)(param);


Attached screenshot show some details of crash http://rghost.ru/8BlX5jJwP/image.png