Advertisement

CompileFunction and JIT

Started by February 05, 2021 09:03 PM
4 comments, last by gjl 3 years, 9 months ago

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

Advertisement

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

Awesome, thanks! Will try this out shortly!

This topic is closed to new replies.

Advertisement