This is a significant change to behavior. What is the reason this is being done? Nobody is going around replacing all the + signs in their code to Math.addExact. Shouldn't there be variant functions for these, just as there are in core java? Has the performance difference been measured? What about usecases that require wrapping behavior (e.g. simple hashing)?
This is a significant change to behavior. What is the reason this is being done? Nobody is going around replacing all the
+
signs in their code toMath.addExact
. Shouldn't there be variant functions for these, just as there are in core java? Has the performance difference been measured? What about usecases that require wrapping behavior (e.g. simple hashing)?