in reply to Re: Are common access expressions optimized?
in thread Are common access expressions optimized?

Thanks. I'm looking forward to "given" in Perl 6. I thought about that yesterday when I had a similar temporary that was only needed for the next two lines. Emulating with a one-iteration foreach is probably too obtuse.

  • Comment on Re: Re: Are common access expressions optimized?

Replies are listed 'Best First'.
Re^3: Are common access expressions optimized?
by Aristotle (Chancellor) on Dec 23, 2002 at 16:34 UTC

    It's what Larry advertises. :) (Look for Topicalization.)

    I don't think it's obtuse at all - you might be surprised the first time you see it, but did you really have any problem reading it? I think it's immediately obvious what is happening.

    Makeshifts last the longest.