Message71044
| Author |
alexandre.vassalotti |
| Recipients |
alexandre.vassalotti, benjamin.peterson, gvanrossum, hniksic, jcea, rhettinger |
| Date |
2008年08月12日.05:45:07 |
| SpamBayes Score |
0.00035834048 |
| Marked as misclassified |
No |
| Message-id |
<1218519913.2.0.513203083069.issue2389@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The slowdown depends of the array type. The patch makes array unpickling
a few orders of magnitude slower (i.e. between 4 and 15 times slower
depending of the array type). In general, pickling is about as fast as
with the binary representation (or faster!).
Although since most 64-bit compilers uses the LP64 model, I think we
could make a compromise and only pickle as a list arrays of long
integers. This would fix the problem without any visible speed penalties. |
|