commit | 5c938d00a1cbe5b7d0c478987b726bb31f169c82 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Jan 28 03:03:08 2003 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Jan 28 03:03:08 2003 +0000 |
tree | f5b1ed761bbf75c596b25f12f99edfe5486f1342 | |
parent | f558da0f905d8598b05bed0a5046ca72efe1f5af [diff] |
Got rid of mdumps; I timed it, and struct.pack("<i", x) is more than 40% faster than marshal.dumps(x)[1:]! (That's not counting the module attribute lookups, which can be avoided in either case.)