@@ -2859,6 +2859,8 @@ msgid ""
2859
2859
"deserializing many small objects (Contributed by Victor Stinner in "
2860
2860
":issue:`27056`)."
2861
2861
msgstr ""
2862
+ "现在 :func:`pickle.load` 和 :func:`pickle.loads` 在反序列化许多小对象时可提速多至 10%。 (由 "
2863
+ "Victor Stinner 在 :issue:`27056` 中贡献。)"
2862
2864
2863
2865
#: ../../whatsnew/3.6.rst:1835
2864
2866
msgid ""
@@ -2868,20 +2870,27 @@ msgid ""
2868
2870
"Clinic this overhead is significantly decreased. (Contributed by Serhiy "
2869
2871
"Storchaka in :issue:`27574`)."
2870
2872
msgstr ""
2873
+ "向函数传入 :term:`关键字参数 <keyword argument>` 相比传入 :term:`位置参数 <pos
B2E2
itional "
2874
+ "argument>` 会有额外的开销。 现在对于使用 Argument Clinic 实现的扩展函数此开销已显著降低。 (由 Serhiy "
2875
+ "Storchaka 在 :issue:`27574` 中贡献。)"
2871
2876
2872
2877
#: ../../whatsnew/3.6.rst:1841
2873
2878
msgid ""
2874
2879
"Optimized :func:`~glob.glob` and :func:`~glob.iglob` functions in the "
2875
2880
":mod:`glob` module; they are now about 3--6 times faster. (Contributed by "
2876
2881
"Serhiy Storchaka in :issue:`25596`)."
2877
2882
msgstr ""
2883
+ "优化了 :mod:`glob` 模块中的 :func:`~glob.glob` 和 :func:`~glob.iglob` 函数;现在它们可提速约 3"
2884
+ "--6 倍。 (由 Serhiy Storchaka 在 :issue:`25596` 中贡献。)"
2878
2885
2879
2886
#: ../../whatsnew/3.6.rst:1845
2880
2887
msgid ""
2881
2888
"Optimized globbing in :mod:`pathlib` by using :func:`os.scandir`; it is now "
2882
2889
"about 1.5--4 times faster. (Contributed by Serhiy Storchaka in "
2883
2890
":issue:`26032`)."
2884
2891
msgstr ""
2892
+ "通过使用 :func:`os.scandir` 优化了 :mod:`pathlib` 中的 glob 操作;现在它可提速约 1.5--4 倍。 (由 "
2893
+ "Serhiy Storchaka 在 :issue:`26032` 中贡献。)"
2885
2894
2886
2895
#: ../../whatsnew/3.6.rst:1849
2887
2896
msgid ""
0 commit comments