develooper Front page | perl.perl5.porters | Postings from September 2012

[perl #30123] foreach ("", "a".."zzzzzz") confuses range optimizer

Thread Previous | Thread Next
James E Keenan via RT
September 29, 2012 19:08
[perl #30123] foreach ("", "a".."zzzzzz") confuses range optimizer
Message ID:
On Fri Oct 15 09:32:02 2004, schwern wrote:
> On Thu, 9 Sep 2004 22:47:35 +0100, Dave Mitchell <> wrote:
> > I'm not sure how this can be construed as a bug. In the general
> > case I'd expect 'a'..'zzzzzzz' to generate a large list, since P5
> > have P6's lazy lists. It just so happens that C<for (X..Y)> is
> > special-cased, but I don't see why that should lead to a general
> > expcatation of lazy-listness?
> I have high expectations.
> Call it a feature request if it makes you feel better.  I reported it
> so its in the tracking system if someone wants to take a crack at it.


Is this still on your wishlist?

Thank you very much.
Jim Keenan

via perlbug:  queue: perl5 status: open

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About