This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author scoder
Recipients, gladman, mark.dickinson, mrabarnett, scoder, steven.daprano, terry.reedy, vstinner, wolma
Date 2014-10-07.20:24:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> it might be worth at least considering how a 'one or more parameter' gcd compares on performance grounds with a two parameter one.

There shouldn't be a difference in practice. The bulk of the work is in the algorithm that finds the GCD of two numbers, and finding the GCD of multiple numbers is simply

    functools.reduce(math.gcd, seq_of_numbers)

Since the most common use case is finding the GCD of two numbers, I don't see a reason to burden the implementation with a special case here.
Date User Action Args
2014-10-07 20:24:54scodersetrecipients: + scoder, terry.reedy, mark.dickinson, vstinner, mrabarnett, steven.daprano, wolma, gladman,
2014-10-07 20:24:54scodersetmessageid: <>
2014-10-07 20:24:54scoderlinkissue22477 messages
2014-10-07 20:24:54scodercreate