- Wed Jan 27, 2010 11:29 am
#162931
Hi Olivier,
I'm not sure, but my feeling is: as all macros have to be loaded in order to have a correct object function, I presume that each macro has its own reserved memory stack... Therefore all those giant arrays would contribute to the slowdown of the object.
But as I said its just my gut feeling...
BTW... I was talking other day with our good friend Frank Beister about array handling methods and he showed me a brilliant way to "shrink" dynamic arrays!
He even created a sample code object with the method... which I'm posting in attachment.
I thought there would be lots of people here on the forum that would appreciate this precious information.
Thank you very much Frank!
When you pass a parameter to objects, is a new memory holder used each time or is it the same one?That's a good question...
I'm not sure, but my feeling is: as all macros have to be loaded in order to have a correct object function, I presume that each macro has its own reserved memory stack... Therefore all those giant arrays would contribute to the slowdown of the object.
But as I said its just my gut feeling...
BTW... I was talking other day with our good friend Frank Beister about array handling methods and he showed me a brilliant way to "shrink" dynamic arrays!

He even created a sample code object with the method... which I'm posting in attachment.
I thought there would be lots of people here on the forum that would appreciate this precious information.
Thank you very much Frank!
Attachments
(3.04 KiB) Downloaded 356 times
Paulo Henrique Santos, Architect
AC24_INT#3008 / I7 / 16Gb / 512Mb SSD / Windows 10
AC24_INT#3008 / I7 / 16Gb / 512Mb SSD / Windows 10