Skip to content

Commit df5b5db

Browse files
authored
Release 6.5.0 (#1176)
1 parent 9d3c53f commit df5b5db

File tree

4 files changed

+41
-16
lines changed

4 files changed

+41
-16
lines changed

CHANGES.rst

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,46 @@ Changelog
1414

1515
.. towncrier release notes start
1616
17+
6.5.0
18+
=====
19+
20+
*(2025-06-17)*
21+
22+
23+
Features
24+
--------
25+
26+
- Replace internal implementation from an array of items to hash table.
27+
algorithmic complexity for lookups is switched from O(N) to O(1).
28+
29+
The hash table is very similar to :class:`dict` from CPython but it allows keys duplication.
30+
31+
The benchmark shows 25-50% boost for single lookups, x2-x3 for bulk updates, and x20 for
32+
some multidict view operations. The gain is not for free:
33+
:class:`~multidict.MultiDict.add` and :class:`~multidict.MultiDict.extend` are 25-50%
34+
slower now. We consider it as acceptable because the lookup is much more common
35+
operation that addition for the library domain.
36+
37+
*Related issues and pull requests on GitHub:*
38+
:issue:`1128`.
39+
40+
41+
Contributor-facing changes
42+
--------------------------
43+
44+
- Builds have been added for arm64 Windows
45+
wheels and the ``reusable-build-wheel.yml``
46+
template has been modified to allow for
47+
an os value (``windows-11-arm``) which
48+
does not end with the ``-latest`` postfix.
49+
50+
*Related issues and pull requests on GitHub:*
51+
:issue:`1167`.
52+
53+
54+
----
55+
56+
1757
6.4.4
1858
=====
1959

CHANGES/1128.feature

Lines changed: 0 additions & 10 deletions
This file was deleted.

CHANGES/1167.contrib.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

multidict/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"getversion",
2323
)
2424

25-
__version__ = "6.4.5.dev0"
25+
__version__ = "6.5.0"
2626

2727

2828
if TYPE_CHECKING or not USE_EXTENSIONS:

0 commit comments

Comments
 (0)