develooper Front page | perl.perl6.internals | Postings from September 2001

RE: Should MY:: be a real symbol table?

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
September 4, 2001 05:45
Subject:
RE: Should MY:: be a real symbol table?
Message ID:
200109041244.NAA08765@gizmo.fdgroup.co.uk
Dan Sugalski <dan@sidhe.org> wrote:
> This also makes scope entry and exit costlier, since you need to make a 
> savestack entry and restore, respectively, for each lexical. I don't think 
> it'd be a win, even if closures weren't getting in your way.

although to be fair, the current run-time action of my() is to push a
"remember to clear me at the the end" note onto the savestack - not
quite as much work as pushing the old SV onto the savestack and
allocating a new SV, but work nevertheless.



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About