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
hyper is very broken, *sometimes* it returns nothing #5111
Comments
From @AlexDanielLet's try running the same code twice: <AlexDaniel> m: my @x = ^10; my @y = @x.hyper(:3batch, :5degree).map: { The thing is that sometimes ï½¢hyperï½£ decides to return an empty list. This If you have problems reproducing it, try changing ï½¢/ 100000ï½£ to something Here's also a golfed down version: Code: Result: According to the execution time ï½¢hyperï½£ does not even bother to compute the Another interesting issue (probably the same one): Code: Result: So not only it is out of order (#127099), but it is also extremely broken. It looks like there is no such problem with ï½¢raceï½£. IRC log (nothing useful there though): |
From liukan@360.cnthe following code produces () on random occasions. while 1 { (2 4 3 10 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 ...) liukan@candor:~/Code$ perl6 -v - kan |
From @smlsCan still confirm on [Rakudo version 2016.08.1-116-gf648d3b built on MoarVM version 2016.08-32-ge52414d]. Seems related to tickets 126597 and 128084, except that those are about cases where hyper *reliably* returns an empty sequence instead of the correct result. |
The RT System itself - Status changed from 'new' to 'open' |
From darkfeathers9@gmail.comperl6 --version: OS: Arch Linux using GCC compiler and MoarVM Using .hyper on an array sometimes returns a result and most of the Code: use experimental :pack; my $file = slurp("pic.png", :bin); my $data = ""; #!!!!!!!!!!!!!!!!!Problem is here!!!!!!!!!!!!!!!!! say $data; expected output (Omitting .hyper and using only first 3 lines of actual output: |
From @jnthnOn Mon, 01 Feb 2016 21:59:33 -0800, alex.jakimenko@gmail.com wrote:
Fixed in new hyper/race implementation; tests in S07-hyperrace/hyper.t and S07-hyperrace/race.t (for original post and other examples that I found in the discussion of this ticket). |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#127452 (status was 'resolved')
Searchable as RT127452$
The text was updated successfully, but these errors were encountered: