>At 12:47 AM 8/4/00 -0400, Ken Fox wrote:
>>John Tobey wrote:
>> > The Perl 5 (and older) behavior may preclude some optimizations.
>>
>>I can't think of any optimizations @_ assignment precludes.
>>If we don't analyze dataflow to figure out if a sub modifies its
>>args, then we just assume it will.
>If we know how a sub accesses @_, we can optimize appropriately. If we
>don't know, odds are we're not doing the sorts of optimizations that would
>need the information.
And to know whether you can know, there should be disqualifiers, like
do FILE
eval STRING
&fnaddr
&$fnname
--tom
- proto-rfc. Elements of @_ should be read-only. John Tobey
- Re: proto-rfc. Elements of @_ should be read-only. Peter Scott
- Re: proto-rfc. Elements of @_ should be read-only. Ken Fox
- Re: proto-rfc. Elements of @_ should be read-on... John Tobey
- Re: proto-rfc. Elements of @_ should be rea... Dan Sugalski
- Re: proto-rfc. Elements of @_ should be read-on... Dan Sugalski
- Re: proto-rfc. Elements of @_ should be read... Tom Christiansen
- Re: proto-rfc. Elements of @_ should be ... Dan Sugalski
- Re: proto-rfc. Elements of @_ shoul... Piers Cawley
- Re: proto-rfc. Elements of @_ s... Dan Sugalski
