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)
In reply to Re^4: Confusion over scope of "my" vars
by LanX
in thread Confusion over scope of "my" vars
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |