Sign in to follow this  

AngelScript 2.15.0 is released

Recommended Posts

Version 2.15.0 is here as the last update for the year. This version brings a long needed change to the library interface. The script modules now have their own interface with the introduction of asIScriptModule. All methods for accessing the modules that were previously in the engine interface have now been moved to the module interface. The garbage collector has also received some improvements, giving a finer control to the application as to what happens when. It's also possible to obtain some statistics from the garbage collector, which can be useful for finetuning the application/scripts. The engine now has a ParseToken method, which can be used by IDEs as part of the solution to provide syntax highlighting and intellisense. It can also be used by preprocessors to simplify the parsing of the scripts for manipulation. A new add-on, CScriptBuilder, was created to simplify the process of loading and compiling scripts. Besides loading the scripts from file the builder also has support for #include directives and metadata. The other add-ons also received some minor improvements, and the manual has had another couple of pages added to it. It may be a bit of work in upgrading to this version, but hopefully you won't think it is too much. If you don't want to do it all at once, you can compile the library with AS_DEPRECATED which adds some backwards compatibility. Check out the change list for a more detailed list of changes. A very merry christmas (or holiday for the non-christians) and a happy new year to all of you. Regards, Andreas

Share this post

Link to post
Share on other sites
Dear Andreas:

Thanks for your hard work.
I just upgrad to 2.15.0 from 2.14.0.
And I really do some work for upgrading.

But when I upgrade to 2.15.0, I found that the compiling
performace is so poor. It spent more than twice time of old version.

In my environment, I compile 15000 script files and save it as encrypted bytecoe.
2.14.0, it spend 320 seconds
2.15.0, it spend 630 seconds

Share this post

Link to post
Share on other sites

It's my fault, about the performance issue.

before compiling a script, I call
and when upgrading to 2.15.0, change to engine->GarbageCollect();

If I remark engine->GarbageCollect(),
the compiling time only spend 360 seconds.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this