File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -251,7 +251,8 @@ Possible candidates for ``frozendict`` in the stdlib
251251We have identified several stdlib modules where adopting ``frozendict ``
252252can enhance safety and prevent unintended modifications by design. We
253253also believe that there are additional potential use cases beyond the
254- ones listed below.
254+ ones listed below. However, this does not mean that we intend to make
255+ these changes without the approval of the respective module maintainers.
255256
256257Note: it remains possible to bind again a variable to a new modified
257258``frozendict `` or a new mutable ``dict ``.
@@ -362,15 +363,9 @@ Reference Implementation
362363Thread Safety
363364=============
364365
365- Once the ``frozendict `` is created, it is immutable and can be shared
366- safely between threads without any synchronization.
367-
368-
369- Future Work
370- ===========
371-
372- We are also going to make ``frozendict `` to be more efficient in terms
373- of memory usage and performance compared to ``dict `` in future.
366+ Once a ``frozendict `` is created, its shallow immutability is guaranteed.
367+ This means it can be safely shared between threads without synchronization,
368+ as long as its values are not modified by other threads.
374369
375370
376371Rejected Ideas
You can’t perform that action at this time.
0 commit comments