Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Rational.REDUCE-ME has a data race #6069
It's fairly rare to encounter a Rat that isn't normalized, but if you do
Even stranger, $g is now normalized as well.
This is on Rakudo Star 2017.01, 64-bit Linux.
% perl6 --version
The avoidance of reduction is for optimization purposes.
However, there's a data-race in Rational.REDUCE-ME and it needs to go: https://irclog.perlgeek.de/perl6-dev/2017-02-13#i_14093035
Renaming the ticket to that.
On Mon, 06 Mar 2017 05:48:07 -0800, firstname.lastname@example.org wrote:
I could see where a mutable Rational could be useful. Should we parameterize that
Naturally any mutable Rational would come with the caveat that it is not threadsafe.
Also, what behavior are we looking for Rat -- just "immutabilty" or "value-type"?
The issue with .unique was resolved in these commits
On 2017-03-06 05:48:07, email@example.com wrote: