Greg Ewing wrote: >> if you're aware of a way to do that faster than the current marshal >> implementation, maybe you could work on speeding up marshal instead? > > Even if it weren't faster than marshal, it could still > be useful to have something nearly as fast that used > a python-version-independent protocol. marshal hasn't changed in many years: $ python1.5 >>> x = 1, 2.0, "three", [4, 5, 6, "seven"], {8: 9}, None >>> import marshal >>> marshal.dump(x, open("x.dat", "w")) >>> $ python2.5 >>> import marshal >>> marshal.load(open("x.dat")) (1, 2.0, 'three', [4, 5, 6, 'seven'], {8: 9}, None) which is a good thing, because there are external non-Python tools that generate marshalled data streams. maybe you were thinking about marshalled code objects? </F>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4