At 02:52 PM 3/29/2001 -0800, Russ Allbery wrote:
>James Mastros <[EMAIL PROTECTED]> writes:
>
> > Ahh, bingo.  That's what a number of people (inculding me) are
> > suggesting -- a :functional / :pure / :stateless /
> > :somthingelseIdontrecall attribute attachable to a sub.
>
>The experience from gcc, which has a similar attribute, is that such an
>attribute will be fairly rarely used and that most of your gains will come
>from managing to teach the compiler to figure out that information for
>itself.
>
>This will probably be harder in Perl than in C because C can afford to
>take more time to do global optimization passes.

I'm hoping to have this stage of optimization in perl. Off by default with 
a normal parse-and-go run (though certainly enableable if you want), on by 
default with the bytecode compiler.

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to