diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-08-02 19:51:21 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-08-02 19:51:21 (GMT) |
commit | 133138a284be1985ebd9ec9014f1306b9a425d98 (patch) | |
tree | 15d5ad35ad76c65f88cb739100ff152194e96ef8 /Include | |
parent | cde03fa0381fcb7f7d3ba0dff4e784eade1f3031 (diff) | |
download | cpython-133138a284be1985ebd9ec9014f1306b9a425d98.zip cpython-133138a284be1985ebd9ec9014f1306b9a425d98.tar.gz cpython-133138a284be1985ebd9ec9014f1306b9a425d98.tar.bz2 |
Issue #22557: Now importing already imported modules is up to 2.5 times faster.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pystate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/pystate.h b/Include/pystate.h index d69d4c9..f08618c 100644 --- a/Include/pystate.h +++ b/Include/pystate.h @@ -41,6 +41,7 @@ typedef struct _is { #endif PyObject *builtins_copy; + PyObject *import_func; } PyInterpreterState; #endif |