Slava Olenin
Slava Olenin
Thanks @MaxGraey ! But to be honest not so much. I was able to find the element I did which I assume this library helping with? Like so: ``` afterInitialize(program)...
Thanks a lot @MaxGraey it seems I am getting close!
clang --version; zig version Apple clang version 14.0.3 (clang-1403.0.22.14.1) Target: arm64-apple-darwin22.5.0, M2 MacBook Pro 64gigs Thread model: posix zig version: 0.12.0-dev.467+0345d7866 Not sure how to provide more details since it...
Just confirmed that even with passing Transform argument it still causes stutters. Not as bad but still
If I pass both entity and transform arguments by reference, stutters become shorter but more frequent
Without passing any arguments to the JS callback I am getting stable 120 and at glance there are no GC spikes however it seems there are consistent Major GC and...
I also tried using two global array lists so instead of calling JS callback 1000 times I will fill those arrays with entities and transforms and than access those only...
Thanks @chung-leong. I just found the reason. It is actually Three.js that cause those GC spikes. In fact, with Zig I am able to get twice better performance and smaller...
@chung-leong But I used pointer because overhead was even bigger when I used variables themselves. My first argument was Entity which is essentially u32x2 and second argument was Transform which...
Thanks @takumade, this worked on Intel MacBook Pro 13 2019 as well