
Quote from impactband4u on July 11, 2024, 7:17 amQuestion:
I have built a program with lots and lots of TextFiles, TextEntries, Timers, ListBoxes, etc. Would the program load and run faster if I sorted the names alphabetically on each sheet in the Object List, or does it not matter?
Also, sometimes the program has to store and load numbers or letters Off-screen, so I have lots of TextEntries offscreen but not enabled for the numbers to load, calculate and then show in a variable On-screen. Will the program run faster if I only use [Variable] names without the TextEntry to load and read from or does it not matter?
Hope I explain it correct
Greetings
Question:
I have built a program with lots and lots of TextFiles, TextEntries, Timers, ListBoxes, etc. Would the program load and run faster if I sorted the names alphabetically on each sheet in the Object List, or does it not matter?
Also, sometimes the program has to store and load numbers or letters Off-screen, so I have lots of TextEntries offscreen but not enabled for the numbers to load, calculate and then show in a variable On-screen. Will the program run faster if I only use [Variable] names without the TextEntry to load and read from or does it not matter?
Hope I explain it correct
Greetings
Quote from mishem on July 11, 2024, 2:28 pmCreate an additional page and remove all unused objects from it when loading from the first page. It might load faster this way.
Create an additional page and remove all unused objects from it when loading from the first page. It might load faster this way.

Quote from alangonzalez91 on July 18, 2024, 1:33 pmAporte para la optimización
Te voy a dar un trucaso para que tus programas carguen más rápido. Explico lo siguiente, el load de la aplicación se demora porque VisualNEO recorre todas las líneas de la sección de subrutinas, entonces, a mayor líneas de subrutinas, mayor tiempo de carga. El problema se da cuando se superan las 10 mil líneas de código/comentarios en la sección de subrutinas, lo que representa en un aumento exponencial de tiempo de carga del programa. La solución consiste en mover las subrutinas a la sección de Function Library y llamarlas de forma simple con el comando call. *** Por alguna razón VisualNEO / Neoobok no recorre las Function Library de la misma forma que las Subrutinas, por lo que se genera un adelgazamiento del código fuente principal, logrando una gran reducción del tiempo de carga sin perder rendimiento de uso.
Contribution for optimization
I'm going to give you a trick to make your programs load faster. I explain the following, the loading of the application is delayed because VisualNEO runs through all the lines of the subroutine section, so, the more lines of subroutines, the longer the loading time. The problem occurs when there are more than 10 thousand lines of code/comments in the subroutine section, which represents an exponential increase in program loading time. The solution is to move the subroutines to the Function Library section and call them simply with the call command. *** For some reason VisualNEO / Neoobok does not go through the Function Libraries in the same way as the Subroutines, which results in a thinning of the main source code, achieving a great reduction in loading time without losing performance.
Aporte para la optimización
Te voy a dar un trucaso para que tus programas carguen más rápido. Explico lo siguiente, el load de la aplicación se demora porque VisualNEO recorre todas las líneas de la sección de subrutinas, entonces, a mayor líneas de subrutinas, mayor tiempo de carga. El problema se da cuando se superan las 10 mil líneas de código/comentarios en la sección de subrutinas, lo que representa en un aumento exponencial de tiempo de carga del programa. La solución consiste en mover las subrutinas a la sección de Function Library y llamarlas de forma simple con el comando call. *** Por alguna razón VisualNEO / Neoobok no recorre las Function Library de la misma forma que las Subrutinas, por lo que se genera un adelgazamiento del código fuente principal, logrando una gran reducción del tiempo de carga sin perder rendimiento de uso.
Contribution for optimization
I'm going to give you a trick to make your programs load faster. I explain the following, the loading of the application is delayed because VisualNEO runs through all the lines of the subroutine section, so, the more lines of subroutines, the longer the loading time. The problem occurs when there are more than 10 thousand lines of code/comments in the subroutine section, which represents an exponential increase in program loading time. The solution is to move the subroutines to the Function Library section and call them simply with the call command. *** For some reason VisualNEO / Neoobok does not go through the Function Libraries in the same way as the Subroutines, which results in a thinning of the main source code, achieving a great reduction in loading time without losing performance.
Uploaded files: