@@ -23,11 +23,11 @@ any issues in the [mypy issue tracker](https://github.com/python/mypy/issues).
2323Free-threaded Python builds that don't have the GIL require additional synchronization
2424primitives or lock-free algorithms to ensure memory safety when there are race conditions
2525(for example, when a thread reads a list item while another thread writes the same list
26- item concurrecntly ). This release greatly improve memory safety of free threading.
26+ item concurrently ). This release greatly improves memory safety of free threading.
2727
2828List operations are now memory-safe on free threaded Python builds, even in the presence of
2929race conditions. This has some performance cost. For list-heavy workloads, using
30- ` librt.vecs.vec ` instead list is often significantly faster, but note that ` vec ` is not
30+ ` librt.vecs.vec ` instead of list is often significantly faster, but note that ` vec ` is not
3131(and likely won't be) fully memory safe, and the user is expected to avoid race conditions.
3232The newly introduced ` librt.threading.Lock ` helps with this. Using variable-length tuples
3333can also be more efficient than lists, since tuples are immutable and don't require
@@ -71,7 +71,6 @@ Related changes:
7171
7272- Update documentation of race conditions under free threading (Jukka Lehtosalo, PR [ 21726] ( https://github.com/python/mypy/pull/21726 ) )
7373- Update mypyc free threading Python compatibility docs (Jukka Lehtosalo, PR [ 21711] ( https://github.com/python/mypy/pull/21711 ) )
74- - Document ` librt.threading ` (Jukka Lehtosalo, )
7574- Document recent additions to ` librt.strings ` , such as ` ispace ` (Jukka Lehtosalo, PR [ 21696] ( https://github.com/python/mypy/pull/21696 ) )
7675
7776### Miscellaneous Mypyc Improvements
0 commit comments