Andreas Delmelle
Sun, 11 May 2008 06:19:04 -0700
On May 11, 2008, at 15:06, Vincent Hennebert wrote:
<snip /> To my knowledge an object is always created in the heap, never on the stack. The PropertyCache is efficient not because it avoids to moveinstances to the heap, but because references to newly created instancesare immediately released, which makes them immediate candidates for garbage collection; instead of having numerous physically different instances in memory, all of them being logically equivalent. Does that make sense?
Right! I'm confusing the stack with the heap space reserved for the young, short-lived objects... I'll correct in a moment.
Thanks for the review! Cheers Andreas