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.)
G
Guido van Rossum committed
5c938d00a1cbe5b7d0c478987b726bb31f169c82
Parent: f558da0