Message242885
| Author |
lemburg |
| Recipients |
BreamoreBoy, ethan.furman, larry, lemburg, mark.dickinson, pitrou, rhettinger, scoder, serhiy.storchaka |
| Date |
2015年05月11日.08:57:43 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1431334663.98.0.820600496674.issue24138@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I like the idea of adding a free list of longs in Python 3, but I think we should extend this somewhat to cover more ground, e.g. by pre-allocating a block of 1 digit long objects, like we did for Python 2 ints, and perhaps allocate up to 4k (= 1 memory page) towards such a free list.
The added cache locality of having the data in a pre-allocated block should provide some more performance. |
|