It is on the way now. You may try it yourself. The idea is to use unions with arrays of structures of different sizes, for example 10, 100, 1000, 10000...
This will shorten the loop by orders of magnitude and reduce the number of ArrayCopy calls by orders of magnitude.
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.
The result of what?
Multiplicity is the condition of the problem.
Simple, a puzzle?
Simply, a puzzle?
Practical applications
Forum on trading, automated trading systems and strategy testing
New version of MetaTrader 5 build 1930: Floating chart windows and .Net libraries in MQL5
fxsaber, 2018.12.09 00:18
This example now runs 15x faster
Roughly speaking, the full write/read ticks cycle through the resource is running at 4 million ticks per second.
Forum on trading, automated trading systems and trading strategy testing
Discussion on "Multithreaded asynchronous WebRequest in MQL5 with your own hands" article
fxsaber, 2018.12.09 00:52
Try the updated Resource_Data.mqh, the web page transfer lags should disappear.
Old version
New Version
Is there a comparison of sorting speed with regular built-in ArraySort on random sampling? Any method that sorts random data faster on average...
Or not faster, but at least the same. Or not as fast, but at least not longer than twice as long. Without any Dll and other stuff like multithreadingThere is a source code, you can measure it yourself.
Can't get past it.
Already stuck at maximum performance, I'm afraid.
I'm afraid we're already locked into maximum performance.
There might be something I haven't noticed. But if you only use one type of union, there is still potential.
Glad to be wrong.
Lazybones.
Glad to be wrong.