Message227559
I strongly agree with Mark's revised plan:
1. add a fast C-coded math.gcd returning the actual greatest (in normal ordered int sense) common divisor;
2. use this for reduction of fractions in the fractions module to speed up operations on fractions.
3. revised fractions.gcd docstring "Return signed version of math.gcd. ..."
I think this would be double win (users get fast, 'proper' gcd; fractions work faster too). |
|
Date |
User |
Action |
Args |
2014-09-25 17:43:49 | terry.reedy | set | recipients:
+ terry.reedy, mark.dickinson, scoder, vstinner, mrabarnett, steven.daprano, akira, wolma, gladman, brg@gladman.plus.com |
2014-09-25 17:43:49 | terry.reedy | set | messageid: <1411667029.32.0.353736607393.issue22477@psf.upfronthosting.co.za> |
2014-09-25 17:43:49 | terry.reedy | link | issue22477 messages |
2014-09-25 17:43:49 | terry.reedy | create | |
|