On Tue Aug 26 07:49:26 2014, coke wrote:
> On Sat Aug 23 21:09:03 2014, masak wrote:
> > <jimmyz> r: constant fib = 0, 1, *+* ... *; say fib[100000]
> > <camelia> rakudo-{parrot,jvm} c793d8: OUTPUT«(timeout)»
> > <camelia> ..rakudo-moar c793d8: OUTPUT«P6opaque: no such attribute
> > '$!storage' [...]
> > <jimmyz> fib[99999] works
> > <jimmyz> masak: ^
> > <masak> m: constant fib = 0, 1, *+* ... *; say fib[99999]
> > <camelia> rakudo-moar c793d8:
> > OUTPUT«1605285768272981969703501699166323590285867163980464844832239016803082277106148858007382799983341986487069902980550885975477322351434706230637004409049784072899949196507083084156794116251699801486721736223390722427570186888655751529235613410338408870193727…»
> > <masak> m: constant fib = 0, 1, *+* ... *; say fib[100_000]
> > <camelia> rakudo-moar c793d8: OUTPUT«P6opaque: no such attribute
> > '$!storage' [...]
> > <masak> yeah, that seems like an arbitrary limit...
> > <masak> m: constant fib = 0, 1 ... *; say fib[100_000]
> > <camelia> rakudo-moar c793d8: OUTPUT«P6opaque: no such attribute
> > '$!storage' [...]
> > <masak> m: constant fib = 0 xx 100_001; say fib[99_999]
> > <camelia> rakudo-moar c793d8: OUTPUT«0»
> > <masak> m: constant fib = 0 xx 100_002; say fib[100_000]
> > <camelia> rakudo-moar c793d8: OUTPUT«P6opaque: no such attribute
> > '$!storage' [...]
> > <masak> ok, so it doesn't necessarily involve infix:<...>
>
> 20:07 <+dalek> rakudo/nom: ce0c258 | TimToady++ |
> src/core/ListIter.pm:
> 20:07 <+dalek> rakudo/nom: Reify lists with correct count.
> 20:07 <+dalek> rakudo/nom:
> 20:07 <+dalek> rakudo/nom: The ListIter reify called p6arrfindtypes
> with $max
> (which is 100000), but should
> 20:07 <+dalek> rakudo/nom: be using $count, how many we really want.
> 20:07 <+dalek> rakudo/nom: Fixes RT #122604.
> 20:07 < synopsebot> Link:
> https://rt.perl.org/rt3//Public/Bug/Display.html?id=122604
> 20:07 <+dalek> rakudo/nom: review:
> https://github.com/rakudo/rakudo/commit/ce0c258640
>
> Closable with tests.
Test added in S04-declarations/constant.t
--
Will "Coke" Coleda