New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InvalidArgumentException when creating a large hash with => #3286
Comments
From dvj@dagur.com21:51 <dagurval> r: my @a = ^512; my %b = @a; my %c = eval %b.perl; Note that the output of %b.perl uses => Creating a large hash using , works. |
From @cokeOn Sun Dec 01 22:30:31 2013, dagur wrote:
Current behavior on the JVM is that this chews up 6.5 CPUs or so for at least 10s of minutes. -- |
The RT System itself - Status changed from 'new' to 'open' |
From @donaldhI think this can be closed.
and
works just fine. |
From @usev6Hm, looks like I can reproduce the original problem with manually building a string and feeding it to EVAL: $ perl6-j -e 'my $foo; for ^512 -> $n, $k { $foo ~= "$n => $k, " }; As in the initial bug report there is no problem when I replace "=>" with ";": $ perl6-j -e 'my $foo; for ^512 -> $n, $k { $foo ~= "$n, $k, " }; |
From @usev6There is no InvalidArgumentException anymore. I've added a test to S32-hash/perl.6 with commit Raku/roast@bae1108d8f. I'm closing this ticket as 'resolved'. |
1 similar comment
From @usev6There is no InvalidArgumentException anymore. I've added a test to S32-hash/perl.6 with commit Raku/roast@bae1108d8f. I'm closing this ticket as 'resolved'. |
@usev6 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#120656 (status was 'resolved')
Searchable as RT120656$
The text was updated successfully, but these errors were encountered: