in reply to Re: Are common access expressions optimized?
in thread Are common access expressions optimized?
I see the opcode structure on the Parrot takes multiple keys directly. Does that help matters?
So, simply by using a temporary (either named or topicalized), I'm saying explicitly that the subexpression is only to be evaluated once.
In Perl 6 there is the // or err operator that will take care of some of this, but no native way to handle exists though maybe undef.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Are common access expressions optimized?
by Elian (Parson) on Dec 24, 2002 at 04:29 UTC |