Message77782
| Author |
mark.dickinson |
| Recipients |
fredrikj, loewis, mark.dickinson, pitrou, rhettinger, terry.reedy, vstinner |
| Date |
2008年12月14日.10:24:29 |
| SpamBayes Score |
3.752926e-05 |
| Marked as misclassified |
No |
| Message-id |
<1229250276.41.0.0278229181837.issue3439@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Update both patches:
(1) change PyLong_FromLong(ndigits-1) to PyLong_FromSsize_t(ndigits-1) in
both patches (it's possible to have a 32-bit long and 64-bit Py_ssize_t), and
(2) in the optimized patch, add the table lookup optimization for
long_bit_length. |
|