From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 21 Jul 2025 08:29:52 +0000 (+0200) Subject: [3.14] gh-136428: amend UUIDv8 performance improvements (GH-136903) (#136904) X-Git-Tag: v3.14.0rc1~34 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d0623cbbf5d0c3763112e5477f207c83f29591a0;p=thirdparty%2FPython%2Fcpython.git [3.14] gh-136428: amend UUIDv8 performance improvements (GH-136903) (#136904) gh-136428: amend UUIDv8 performance improvements (GH-136903) UUIDv8 has been added in Python 3.14.0a2 and its construction time has been improved in Python 3.14.0a4, but since those changes will not be visible when comparing the latest Python 3.13 and 3.14 together, we do not document them on the What's New page to avoid confusion. (cherry picked from commit 5798348a0739ccf46f690f5fa1443080ec5de310) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> --- diff --git a/Doc/whatsnew/3.14.rst b/Doc/whatsnew/3.14.rst index b85440736963..d58f7ecf02ce 100644 --- a/Doc/whatsnew/3.14.rst +++ b/Doc/whatsnew/3.14.rst @@ -2323,8 +2323,7 @@ uuid * :func:`~uuid.uuid3` and :func:`~uuid.uuid5` are both roughly 40% faster for 16-byte names and 20% faster for 1024-byte names. Performance for longer names remains unchanged. - * :func:`~uuid.uuid4` and :func:`~uuid.uuid8` are 30% and 40% faster - respectively. + * :func:`~uuid.uuid4` is 30% faster. (Contributed by Bénédikt Tran in :gh:`128150`.)