]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-136428: amend UUIDv8 performance improvements (#136903)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Mon, 21 Jul 2025 08:23:16 +0000 (10:23 +0200)
committerGitHub <noreply@github.com>
Mon, 21 Jul 2025 08:23:16 +0000 (08:23 +0000)
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.

Doc/whatsnew/3.14.rst

index ba06930cf14eec7b25c9a68eeeb067fa237fc4f5..91f8ccc796794bbc842be0170e6bebcc8d9254c6 100644 (file)
@@ -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`.)