Hi,
I have just noticed that when you create a script function using the CompileFunction method, it is not “JIT Compiled” (JIT compilation seems to happen only when building a module). Is there any reason for that? Or maybe I missed something?
Hi,
I have just noticed that when you create a script function using the CompileFunction method, it is not “JIT Compiled” (JIT compilation seems to happen only when building a module). Is there any reason for that? Or maybe I missed something?
This is not intentional. It was just never implemented.
I'll look into it.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
Thanks! It seems that just adding a call to the JIT at the end would do the trick, but I am of course not 100% sure, it may be more subtle, as usual :-)!
I've implemented this in rev 2701.
Regards,
Andreas
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game