Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I don't see the problem.
You have to remove "static" before "union u_Data_t".
So you have to remove "static" before "union u_Data_t".
b3062. Indeed, the divergence is in the wrong direction.
Figures are like this, after previous test the code was slightly optimised:
Without static debugging and release, last with static release
b3062. Indeed, the discrepancy is in the wrong direction.
So you have a small difference
So you have a small difference
Write in the branch of the latest build with full code and results. Such a construct will not get past the developers.
The answer is preferably right away. There isn't always time for experimentation.
Briefly: it's faster without pointers. I have 1.2 sec without pointers (V1), 1.4 with pointers (V2). 1.6 - with pointers and removal (V3).
Briefly: it's quicker without pointers. I have 1.2 sec without pointers (V1), 1.4 with pointers (V2). 1.6 - with pointers and removal (V3).
The comparison is incorrect because it doesn't take into account the time it takes to automatically delete objects.
Modified.
Where 123 megabytes after V3 comes from, I don't know.
Here are the identical functions for comparison: