Hi,

Now the interpreter stack grows automatically as needed (until it fills up 
your memory). So the stack size project option was removed from the IDE.

The initial stack size is 4K, and grows by 4K increment.

A local variable, a function argument or a WITH instruction uses 16 bytes, and 
a function call uses 48 bytes. 

A call between a Gambas function and a native function, or the contrary, uses 
48 bytes more.

On a 64 bits CPU, you must double all the previous values: the initial stack 
size and the increment is 8K, and so on...

Now you can guess how much stack your program uses.

Regards,

-- 
Benoît

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to