@@ -3417,6 +3417,10 @@ msgid ""
3417
3417
"Set LINEAR_PROBES=0 to turn-off linear probing entirely. (Contributed by "
3418
3418
"Raymond Hettinger in :issue:`18771`.)"
3419
3419
msgstr ""
3420
+ "针对集合的哈希碰撞的耗费现在已被降低。 每次哈希表检测现在会先检查一系列连续的、相邻的键/哈希值对再继续对整个哈希表执行随机检测。 "
3421
+ "这将利用缓存本地化来使得碰撞求解付出较少代价。 这种碰撞求解方案可被描述为线性检测和开放寻址的结合。 额外的线性检测数默认为九次。 这可以在编译时通过将"
3422
+ " LINEAR_PROBES 定义为任意值来修改。 设置 LINEAR_PROBES=0 可完全关闭线性检测。 (由 Raymond Hettinger"
3423
+ " 在 :issue:`18771` 中贡献。)"
3420
3424
3421
3425
#: ../../whatsnew/3.4.rst:2028
3422
3426
msgid ""
@@ -3428,26 +3432,37 @@ msgid ""
3428
3432
"Heimes and Victor Stinner in :issue:`19219`, :issue:`19218`, :issue:`19209`,"
3429
3433
" :issue:`19205` and :issue:`9548`.)"
3430
3434
msgstr ""
3435
+ "解释器启动速度加快了约 30%。 多项措施促成了此次加速。 解释器在启动时加载的模块有所减少,例如 :mod:`re`, "
3436
+ ":mod:`collections` 和 :mod:`locale` 模块及其依赖默认不再被导入。 marshal 模块得到改进以便更快速地加载已编译的"
3437
+ " Python 代码。 (由 Antoine Pitrou, Christian Heimes 和 Victor Stinner 在 "
3438
+ ":issue:`19219`, :issue:`19218`, :issue:`19209`, :issue:`19205` 和 "
3439
+ ":issue:`9548` 中贡献。)"
3431
3440
3432
3441
#: ../../whatsnew/3.4.rst:2036
3433
3442
msgid ""
3434
3443
":class:`bz2.BZ2File` is now as fast or faster than the Python2 version for "
3435
3444
"most cases. :class:`lzma.LZMAFile` has also been optimized. (Contributed "
3436
3445
"by Serhiy Storchaka and Nadeem Vawda in :issue:`16034`.)"
3437
3446
msgstr ""
3447
+ "现在 :class:`bz2.BZ2File` 在多数情况下相比 Python2 版本速度都一样快更快或。 :class:`lzma.LZMAFile`"
3448
+ " 也获得了优化。 (由 Serhiy Storchaka 和 Nadeem Vawda 在 :issue:`16034` 中贡献。)"
3438
3449
3439
3450
#: ../../whatsnew/3.4.rst:2040
3440
3451
msgid ""
3441
3452
":func:`random.getrandbits` is 20%-40% faster for small integers (the most "
3442
3453
"common use case). (Contributed by Serhiy Storchaka in :issue:`16674`.)"
3443
3454
msgstr ""
3455
+ ":func:`random.getrandbits` 对于小整数(最常见的应用场景)可加速 20%-40%。 (由 Serhiy Storchaka 在"
3456
+ " :issue:`16674` 中贡献。)"
3444
3457
3445
3458
#: ../../whatsnew/3.4.rst:2043
3446
3459
msgid ""
3447
3460
"By taking advantage of the new storage format for strings, pickling of "
3448
3461
"strings is now significantly faster. (Contributed by Victor Stinner and "
3449
3462
"Antoine Pitrou in :issue:`15596`.)"
3450
3463
msgstr ""
3464
+ "得益于字符串的新存储格式,对字符串执行 pickle 操作现在将有明显加速。 (由 Victor Stinner 和 Antoine Pitrou 在 "
3465
+ ":issue:`15596` 中贡献。)"
3451
3466
3452
3467
#: ../../whatsnew/3.4.rst:2047
3453
3468
msgid ""