Message237333
> I'm not sure that the C implementation of factorial() is much faster
The inner loop (see the for loop in factorial_partial_product) operates on C unsigned longs, so I'd be surprised if a Python implementation were competitive. But it would be interesting to see timings. |
|
Date |
User |
Action |
Args |
2015-03-06 08:22:24 | mark.dickinson | set | recipients:
+ mark.dickinson, gvanrossum, belopolsky, vstinner, ezio.melotti, ethan.furman, NeilGirdhar |
2015-03-06 08:22:24 | mark.dickinson | set | messageid: <1425630144.16.0.015190620578.issue23595@psf.upfronthosting.co.za> |
2015-03-06 08:22:24 | mark.dickinson | link | issue23595 messages |
2015-03-06 08:22:23 | mark.dickinson | create | |
|