File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -922,9 +922,10 @@ Optimizations
922
922
(Contributed by Serhiy Storchaka in :issue:`41334 ` .)
923
923
924
924
* The :mod:`runpy` module now imports fewer modules.
925
- The `` python3 - m module- name`` command startup time is 1. 3x faster in
926
- average.
927
- (Contributed by Victor Stinner in :issue:`41006 ` .)
925
+ The `` python3 - m module- name`` command startup time is 1. 4x faster in
926
+ average. On Linux, `` python3 - I - m module- name`` imports 69 modules on Python
927
+ 3.9 , whereas it only imports 51 modules (- 18 ) on Python 3.10 .
928
+ (Contributed by Victor Stinner in :issue:`41006 ` and :issue:`41718 ` .)
928
929
929
930
* The `` LOAD_ATTR `` instruction now uses new " per opcode cache" mechanism. It
930
931
is about 36 % faster now for regular attributes and 44 % faster for slots.
You can’t perform that action at this time.
0 commit comments