Iterated digits squaring: Difference between revisions

m
→‎{{header|Raku}}: Fix comment: Perl 6 --> Raku
m (→‎{{header|Perl}}: Fix link: Perl 6 --> Raku)
m (→‎{{header|Raku}}: Fix comment: Perl 6 --> Raku)
Line 2,719:
{{out}}
<pre>856929</pre>
All is not lost, however. Through the use of gradual typing, Perl 6Raku scales down as well as up, so this jit-friendly version is performant enough to brute force the larger calculation:
<lang perl6>my @cache;
@cache[1] = 1;
2,392

edits