in reply to Re^3: Confusion over scope of "my" vars
in thread Confusion over scope of "my" vars
Obviously the allocated space is reused, leaving it in a defined state is maybe faster and works in 99.9% of all cases but is nevertheless *dirty*.
And an extra opcode "ResetPad" realised in C can't be too expensive in comparison to the overall overhead of function calls.
Cheers Rolf
UPDATES:
(The reference counter is not neccessarily 0 at the end of the scope)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Confusion over scope of "my" vars
by ikegami (Patriarch) on Nov 26, 2008 at 21:00 UTC | |
by LanX (Saint) on Nov 26, 2008 at 21:14 UTC | |
by ikegami (Patriarch) on Nov 27, 2008 at 02:13 UTC | |
by LanX (Saint) on Nov 27, 2008 at 09:35 UTC | |
by ikegami (Patriarch) on Nov 27, 2008 at 19:23 UTC |