[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Moment of Zen



[Thu, Sep 30, 1999 at 09:29:53PM -0400] Steve Willer:
>   foreach (1..1000000) { dosomething() }
> 
> I don't get why Perl would be allocating an array large enough to hold 1
> million numbers. Perhaps there's a valid explanation, but it's pretty
> clear what my intent is, and there's no need to allocate a huge array for
> this purpose.

It doesn't.

Not any more, anyway.

--Matthew

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe