Results 28 comments of asbai

确实,我们测试时音频也出现了类似的问题;另外解压 264 编码的视频时,画面也会有播放卡顿。

I am also looking forward to the new results.

I recommend using gcc (MinGW for windows) to compile angelscript. Because the standard string add-on of angelscript use std::string by default. And the performance of MSVC std::string is low (just...

Also, I suspect that register a line callback could dramatically slow down the engine. Use another timer thread which call ctx->Abort() on timeout instead.

@iSLC No, you are wrong :-) At least in my gcc 4.4.7 and 4.5.2, they all use reference count for std::basic_string, you can check it at "bits/basic_string.h" in gcc's "include/c++"...

@r-lyeh Sorry, I can not found where the test scripts were stored, I guess you have some string performance test like this: https://codeplea.com/game-scripting-languages. So which algorithms we are using now?...

@iSLC Ok, so it's clearly that gcc 4.x is more benchmark friendly :-) Especially for engines like AngelScript which has the ability to avoid the memory allocation and copy cost...

@r-lyeh Ok, I think the ability of fast native calling conversion will not cause unfairness, because it is a feature of the language and the engine. Just like JIT is...