I disagree. If you count the number of times you compile, let's say you do compile 100 times a day within a 12 hr Worksession, you in fact cumulate 9000 seconds, that is 2.5 hours wasted.
Now let's say you do this 5 days a week. You cumulate a whole workday. I would say respawning to a shared library takes you about a day, maybe even 2 days. You will be winning in the long run anyways, especially because in a library, you usually collect all your functions you use in all of your projects.
So investing the time to have such a resource at hand will save you huge amounts of idle time.
I disagree. If you count the number of times you compile, let's say you do compile 100 times a day within a 12 hr Worksession, you in fact cumulate 9000 seconds, that is 2.5 hours wasted.
Now let's say you do this 5 days a week. You cumulate a whole workday. I would say respawning to a shared library takes you about a day, maybe even 2 days. You will be winning in the long run anyways, especially because in a library, you usually collect all your functions you use in all of your projects.
So investing the time to have such a resource at hand will save you huge amounts of idle time.
My experience.
That’s if you do everything in series
I parallel work so use the compile time to do other things
Also I don’t compile a 100 times a day that’s excessive
Fatemeh Ameri: Hi developers. When I am trying to compile my code in MQL5 it takes so long time. about 120 sec. the same code in MT4 complies in just a blink. Can I do any thing to make the "Generating Code" process faster??
If you use a big/complex macro multiple times, it really makes the final code much bigger and compilation takes longer as the macros will be expanded into actual code.
Check that you do not use big/complex macros. The same issue might occur also with templated functions and classes.
Fatemeh Ameri: Hi developers. When I am trying to compile my code in MQL5 it takes so long time. about 120 sec. the same code in MT4 complies in just a blink. Can I do any thing to make the "Generating Code" process faster??
Hello everybody, having the same issue: however my compiling lasts only for 6 and more sesc(lines above 12000), but gets really annoying).
Not so elegant, but now I use this: coding in Visual Studio Code (checking 12000 lines takes 0.35 sec instead of 6.3 sec), compiling with mql5 editor only if really needed.
Hoping helps a bit, however i am not really staisfied with this way.
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.
True, 100 times a day is excessive. - Thats not exactly the point I was trying to make, it was exaggerated.
I ask myself, what could you do in a 90 second time window apart from waiting?
Trying to think of a task thats short enough to fill the timegap, next to breathing or vegetate?
True, 100 times a day is excessive. - Thats not exactly the point I was trying to make, it was exaggerated.
I ask myself, what could you do in a 90 second time window apart from waiting?
Trying to think of a task thats short enough to fill the timegap, next to breathing or vegetate?
Hi developers.
When I am trying to compile my code in MQL5 it takes so long time. about 120 sec. the same code in MT4 complies in just a blink.
Can I do any thing to make the "Generating Code" process faster??
If you use a big/complex macro multiple times, it really makes the final code much bigger and compilation takes longer as the macros will be expanded into actual code.
Check that you do not use big/complex macros. The same issue might occur also with templated functions and classes.
Hi developers.
When I am trying to compile my code in MQL5 it takes so long time. about 120 sec. the same code in MT4 complies in just a blink.
Can I do any thing to make the "Generating Code" process faster??
Hello everybody, having the same issue: however my compiling lasts only for 6 and more sesc(lines above 12000), but gets really annoying).
Not so elegant, but now I use this: coding in Visual Studio Code (checking 12000 lines takes 0.35 sec instead of 6.3 sec), compiling with mql5 editor only if really needed.
Hoping helps a bit, however i am not really staisfied with this way.