mirror of
https://github.com/python/cpython.git
synced 2025-07-31 23:23:11 +00:00
Issue #19219: Speed up marshal.loads(), and make pyc files slightly (5% to 10%) smaller.
This commit is contained in:
parent
4c6ed25b96
commit
1164dfcb86
4 changed files with 3472 additions and 3555 deletions
|
@ -7,7 +7,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define Py_MARSHAL_VERSION 3
|
||||
#define Py_MARSHAL_VERSION 4
|
||||
|
||||
PyAPI_FUNC(void) PyMarshal_WriteLongToFile(long, FILE *, int);
|
||||
PyAPI_FUNC(void) PyMarshal_WriteObjectToFile(PyObject *, FILE *, int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue