http://qs321.pair.com?node_id=336563


in reply to Re: Re: Autogenerate descending arrays
in thread Autogenerate descending arrays

How is it optimized?
  • Comment on Re: Re: Re: Autogenerate descending arrays

Replies are listed 'Best First'.
Re: Re: Re: Re: Autogenerate descending arrays
by kappa (Chaplain) on Mar 15, 2004 at 14:30 UTC
    I stand corrected. Looks like foreach (reverse 1 .. 1000000) still generates a huge temporary list.