Re: [math] MATH-841 gcd speed up

2012-08-06 Thread sebb
On 6 August 2012 04:58, Phil Steitz wrote: > On 8/5/12 6:44 PM, ma...@nimp.co.uk wrote: >> Hello, >> >> The gcd(int,int) method of ArithmeticUtils seems 2 times slower than the >> naive approach using modulo operator. >> Gilles tested the patch separately and found similar performance penalty. >>

Re: [math] MATH-841 gcd speed up

2012-08-05 Thread Phil Steitz
On 8/5/12 6:44 PM, ma...@nimp.co.uk wrote: > Hello, > > The gcd(int,int) method of ArithmeticUtils seems 2 times slower than the > naive approach using modulo operator. > Gilles tested the patch separately and found similar performance penalty. > Please check it out: > https://issues.apache.org/ji

[math] MATH-841 gcd speed up

2012-08-05 Thread ma...@nimp.co.uk
Hello, The gcd(int,int) method of ArithmeticUtils seems 2 times slower than the naive approach using modulo operator. Gilles tested the patch separately and found similar performance penalty. Please check it out: https://issues.apache.org/jira/browse/MATH-841?page=com.atlassian.jira.plugi n.syste