On Sun, Apr 13, 2008 at 11:13 PM, John W. Krahn <[EMAIL PROTECTED]> wrote:
> Chas. Owens wrote:
>
> > On Sun, Apr 13, 2008 at 10:44 PM, John W. Krahn <[EMAIL PROTECTED]> wrote:
> > snip
> > > > does subroutine introduce additional delay?
> > >  All non-inlined subroutines introduce some delay, although that is not
> your
> > > problem as you are only calling it once.
> > snip
> >
> > Perl has inlined subroutines now?  What is the trigger for the
> > compiler?  Or are you talking about the optimization that happens to
> > things like
> >
> > use constant foo => 10;
> >
>
>  See the "Constant Functions" section of:
>
>  perldoc perlsub
snip

Ah, so it is just still constant folding.  And here I had hoped for
true inlined functions.

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to