Belzar,
i fear you are running into a general misunderstand of the "display memory allocation" and "copying data"....
First important thing:
User Interface (UI) and dataspace (of the execution) are not the same. Therefore data entered in the UI has to be transferred to the dataspace. This is in fact a copy, yes, BUT the space is already allocated (shown by the allocation dot) in the dataspace. So this is done VERY fast (at least if you are using terminals!) and you can NEVER remove this. This is because BD constants have to be "copied" from the compiled codesegment to the dataspace as well when executed.
Second import thing:
If you take care about good programming styles, all your data needed can be allocated just when you start the application (and each will show a dot!). This will take a short time. But when the application is running, its just like working with variables or references (depends on the usage) in e.g. C.
All these allocations are displayed by the tool.
BUT the tool does NOT differ if the space is allocated ONCE on startup or if it is
REallocated during runtime. And you are correct that REallocation takes a lot of time, regardless of size (it is quite linear in fact if the OS does not need to swap and old data has to be copied to the new space....). So you shouldn't bother about the allocs done once. But (there, you are 100% right) you should consider, if the dots are included in loops, moving them out if possible; it could increase performance, both in time and memory.
I dont know which programming language you are familiar with besides of LV, but every language has to create allocs and then work with references to this memory......
hope this helps,
Norbert
Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.