@@ -3262,6 +3262,8 @@ msgid ""
3262
3262
"(Contributed by Serhiy Storchaka in :issue:`15381` and David Wilson in "
3263
3263
":issue:`22003`.)"
3264
3264
msgstr ""
3265
+ "现在 :class:`io.BytesIO` 上的许多操作可提速 50% 至 100%。 (由 Serhiy Storchaka 在 "
3266
+ ":issue:`15381` 以及 David Wilson 在 :issue:`22003` 中贡献。)"
3265
3267
3266
3268
#: ../../whatsnew/3.5.rst:2133
3267
3269
msgid ""
@@ -3270,25 +3272,30 @@ msgid ""
3270
3272
"best cases. (Contributed by Serhiy Storchaka in :issue:`20416` and "
3271
3273
":issue:`23344`.)"
3272
3274
msgstr ""
3275
+ "现在 :func:`marshal.dumps` 函数速度可提升:对于典型数据来说版本 3 和 4 为 65--85%,版本 0 至 2 为 20--"
3276
+ "25%,最佳场景下最多可达 5 倍。 (由 Serhiy Storchaka 在 :issue:`20416` 和 :issue:`23344` "
3277
+ "中贡献。)"
3273
3278
3274
3279
#: ../../whatsnew/3.5.rst:2138
3275
3280
msgid ""
3276
3281
"The UTF-32 encoder is now 3 to 7 times faster. (Contributed by Serhiy "
3277
3282
"Storchaka in :issue:`15027`.)"
3278
- msgstr ""
3283
+ msgstr "现在 UTF-32 编码器可提速 3 至 7 倍。 (由 Serhiy Storchaka 在 :issue:`15027` 中贡献。) "
3279
3284
3280
3285
#: ../../whatsnew/3.5.rst:2141
3281
3286
msgid ""
3282
3287
"Regular expressions are now parsed up to 10% faster. (Contributed by Serhiy "
3283
3288
"Storchaka in :issue:`19380`.)"
3284
- msgstr ""
3289
+ msgstr "现在正则表达式的解析可提速至多 10%。 (由 Serhiy Storchaka 在 :issue:`19380` 中贡献。).) "
3285
3290
3286
3291
#: ../../whatsnew/3.5.rst:2144
3287
3292
msgid ""
3288
3293
"The :func:`json.dumps` function was optimized to run with "
3289
3294
"``ensure_ascii=False`` as fast as with ``ensure_ascii=True``. (Contributed "
3290
3295
"by Naoki Inada in :issue:`23206`.)"
3291
3296
msgstr ""
3297
+ ":func:`json.dumps` 函数已获优化使得设置 ``ensure_ascii=False`` 时与设置 "
3298
+ "``ensure_ascii=True`` 时运行得一样快。 (由 Naoki Inada 在 :issue:`23206` 中贡献。)"
3292
3299
3293
3300
#: ../../whatsnew/3.5.rst:2148
3294
3301
msgid ""
@@ -3297,6 +3304,8 @@ msgid ""
3297
3304
":class:`type` as its metaclass. (Contributed Georg Brandl by in "
3298
3305
":issue:`22540`.)"
3299
3306
msgstr ""
3307
+ ":c:func:`PyObject_IsInstance` 和 :c:func:`PyObject_IsSubclass` 函数在第二个参数以 "
3308
+ ":class:`type` 作为其元类的常见情况下已获得加速。 (由 Georg Brandl 在 :issue:`22540` 中贡献。)"
3300
3309
3301
3310
#: ../../whatsnew/3.5.rst:2153
3302
3311
msgid ""
0 commit comments