MegatenFreak Active Member Licensed User Nov 25, 2021 #1 Hello. The app I'm working on has been under development for two years, and it's currently massive, with more than 100,000 lines of code distributed in 150+ code modules. For some time now I've been experiencing annoying slowdowns when coding in B4J and long lags in the smart error detection and the intellisense thing. I suppose it's due to the great size of the code. But I was wondering if there's anything I can do to reduce the lags and slowdowns. Any suggestions are appreciated. Thanks.
Hello. The app I'm working on has been under development for two years, and it's currently massive, with more than 100,000 lines of code distributed in 150+ code modules. For some time now I've been experiencing annoying slowdowns when coding in B4J and long lags in the smart error detection and the intellisense thing. I suppose it's due to the great size of the code. But I was wondering if there's anything I can do to reduce the lags and slowdowns. Any suggestions are appreciated. Thanks.
Erel B4X founder Staff member Licensed User Longtime User Nov 28, 2021 #21 MegatenFreak said: It does work, but has no effect on memory consumption and speed, which is no surprise as the library code is still present and active. Click to expand... There is some performance advantage for b4xlibs. The IDE doesn't treat the code as user accessible code. Once we change to 64 bit, all further versions will be 64 bit. The previous 32 bit version will be kept online. Upvote 0
MegatenFreak said: It does work, but has no effect on memory consumption and speed, which is no surprise as the library code is still present and active. Click to expand... There is some performance advantage for b4xlibs. The IDE doesn't treat the code as user accessible code. Once we change to 64 bit, all further versions will be 64 bit. The previous 32 bit version will be kept online.
agraham Expert Licensed User Longtime User Nov 28, 2021 #22 Erel said: The previous 32 bit version will be kept online. Click to expand... Sigh! I'll give up the fight for understanding here. By 'previous' I assume you mean 'final' Previous adjective 1.Occurring before, earlier 2.Already arranged, prior 3.Former 4.Premature, over-hasty (facetious) Upvote 0
Erel said: The previous 32 bit version will be kept online. Click to expand... Sigh! I'll give up the fight for understanding here. By 'previous' I assume you mean 'final' Previous adjective 1.Occurring before, earlier 2.Already arranged, prior 3.Former 4.Premature, over-hasty (facetious)
Erel B4X founder Staff member Licensed User Longtime User Nov 28, 2021 #23 בשלב מסוים נעבור לגירסאות של 64 ביט בלבד. הגירסא האחרונה של 32 ביט, מלפני השינוי, תיוותר זמינה להורדה. At some point we will change to 64 bit versions only. The final 32 bit version, before the change, will remain available for download. Upvote 0
בשלב מסוים נעבור לגירסאות של 64 ביט בלבד. הגירסא האחרונה של 32 ביט, מלפני השינוי, תיוותר זמינה להורדה. At some point we will change to 64 bit versions only. The final 32 bit version, before the change, will remain available for download.
agraham Expert Licensed User Longtime User Nov 28, 2021 #24 Erel said: at some point we'll move on to 64-bit versions only. the latest version of 32 bits, prior to the change, will remain available for download. Click to expand... For fun I just translated Erel's Hebrew in Edge - and it reintroduced the ambiguity. ? Aren't the subtleties of language amazingly frustrating to us pedants. Upvote 0
Erel said: at some point we'll move on to 64-bit versions only. the latest version of 32 bits, prior to the change, will remain available for download. Click to expand... For fun I just translated Erel's Hebrew in Edge - and it reintroduced the ambiguity. ? Aren't the subtleties of language amazingly frustrating to us pedants.
udg Expert Licensed User Longtime User Nov 28, 2021 #25 Oh, no... Now I'll have no more excuses for not formatting my old MS XP box to its original mediacenter role or at least a tiny Linux PC. I used to run an old copy of B4J on it along an early version of ABMaterial code... Well, at least it shouldn't happen for next Xmas so I can keep it on the to-do list for some time more..hehehe Aren't the subtleties of language amazingly frustrating to us pedants. Click to expand... A rigorous language: Math Everyday natural language is full of ambiguity or wrong usage of well-defined concepts. I often hear something like "they turned their opinion 360 degrees" Upvote 0
Oh, no... Now I'll have no more excuses for not formatting my old MS XP box to its original mediacenter role or at least a tiny Linux PC. I used to run an old copy of B4J on it along an early version of ABMaterial code... Well, at least it shouldn't happen for next Xmas so I can keep it on the to-do list for some time more..hehehe Aren't the subtleties of language amazingly frustrating to us pedants. Click to expand... A rigorous language: Math Everyday natural language is full of ambiguity or wrong usage of well-defined concepts. I often hear something like "they turned their opinion 360 degrees"
William Lancee Well-Known Member Licensed User Longtime User Nov 28, 2021 #26 Off topic. Everyday natural language is full of ambiguity or wrong usage of well-defined concepts. I often hear something like "they turned their opinion 360 degrees" Click to expand... I have heard someone say "He made a full and total 90 degree change in his life. But then, as we all know, "communication is a three-way street" Upvote 0
Off topic. Everyday natural language is full of ambiguity or wrong usage of well-defined concepts. I often hear something like "they turned their opinion 360 degrees" Click to expand... I have heard someone say "He made a full and total 90 degree change in his life. But then, as we all know, "communication is a three-way street"
LucaMs Expert Licensed User Longtime User Nov 28, 2021 #27 agraham said: For fun I just translated Erel's Hebrew in Edge Click to expand... Erel said: בשלב מסוים נעבור לגירסאות של 64 ביט בלבד. הגירסא האחרונה של 32 ביט, מלפני השינוי, תיוותר זמינה להורדה. Click to expand... I understood everything instantly! Except those "32" and "64" ? Upvote 0
agraham said: For fun I just translated Erel's Hebrew in Edge Click to expand... Erel said: בשלב מסוים נעבור לגירסאות של 64 ביט בלבד. הגירסא האחרונה של 32 ביט, מלפני השינוי, תיוותר זמינה להורדה. Click to expand... I understood everything instantly! Except those "32" and "64" ?
xulihang Well-Known Member Licensed User Longtime User Nov 29, 2021 #28 In my case, the auto backup costs a lot of time and blocks the UI. I have to turn it off. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Nov 29, 2021 #29 xulihang said: In my case, the auto backup costs a lot of time and blocks the UI. I have to turn it off. Click to expand... This should also be improved, however it is a different issue. This is relevant if you see a slowdown exactly every 10 minutes. Upvote 0
xulihang said: In my case, the auto backup costs a lot of time and blocks the UI. I have to turn it off. Click to expand... This should also be improved, however it is a different issue. This is relevant if you see a slowdown exactly every 10 minutes.
rabbitBUSH Well-Known Member Licensed User Longtime User Nov 29, 2021 #30 Erel said: see a slowdown exactly every 10 minutes. Click to expand... Is that 10 exact minutes? Taking into account a 32-bit vs. a 64-bit slowdown every exact 10 minutes earth's wobble and rotational differences..... Upvote 0
Erel said: see a slowdown exactly every 10 minutes. Click to expand... Is that 10 exact minutes? Taking into account a 32-bit vs. a 64-bit slowdown every exact 10 minutes earth's wobble and rotational differences.....
Erel B4X founder Staff member Licensed User Longtime User Nov 29, 2021 #31 Yes. Auto-backup runs every 10 minutes. Upvote 0
rabbitBUSH Well-Known Member Licensed User Longtime User Nov 29, 2021 #32 Erel said: The IDE will soon be a 64 bit process. Click to expand... Shall we just rest with the GREAT news in the thread - which is the above statement. GREAT news @Erel - I queried about this earlier - and - at the time you were non-commital - no ambiguity intended ?. Upvote 0
Erel said: The IDE will soon be a 64 bit process. Click to expand... Shall we just rest with the GREAT news in the thread - which is the above statement. GREAT news @Erel - I queried about this earlier - and - at the time you were non-commital - no ambiguity intended ?.
MegatenFreak Active Member Licensed User Nov 29, 2021 #33 Erel said: This should also be improved, however it is a different issue. This is relevant if you see a slowdown exactly every 10 minutes. Click to expand... Indeed. It shouldn't affect overall speed. I have both auto-save and auto-backup disabled. Upvote 0
Erel said: This should also be improved, however it is a different issue. This is relevant if you see a slowdown exactly every 10 minutes. Click to expand... Indeed. It shouldn't affect overall speed. I have both auto-save and auto-backup disabled.