@@ -19,10 +19,11 @@ You can read the full documentation for this release on [Read the Docs](http://m
1919### Fixed‑Format Cache Improvements
2020
2121Mypy uses a cache by default to speed up incremental runs by reusing partial results
22- from earlier runs. Mypy 1.18 added a new binary, fixed-format cache representation as
22+ from earlier runs. Mypy 1.18 added a new binary fixed-format cache representation as
2323an experimental feature. The feature is no longer experimental, and we are planning
2424to enable it by default in a future mypy release (possibly 1.20), since it's faster
25- and uses less space than the original, JSON-based cache format.
25+ and uses less space than the original, JSON-based cache format. Use
26+ ` --fixed-format-cache ` to enable the fixed-format cache.
2627
2728Mypy now has an extra dependency on the ` librt ` PyPI package, as it's needed for
2829cache serialization and deserialization.
@@ -41,7 +42,7 @@ This release includes these improvements:
4142- Force-discard cache if cache format changed (Ivan Levkivskyi, PR [ 20152] ( https://github.com/python/mypy/pull/20152 ) )
4243- Add tool to convert binary cache files to JSON (Jukka Lehtosalo, PR [ 20071] ( https://github.com/python/mypy/pull/20071 ) )
4344- Use more efficient serialization format for long integers in cache files (Jukka Lehtosalo, PR [ 20151] ( https://github.com/python/mypy/pull/20151 ) )
44- - More robust packing of flats in fixed-format cache (Ivan Levkivskyi, PR [ 20150] ( https://github.com/python/mypy/pull/20150 ) )
45+ - More robust packing of floats in fixed-format cache (Ivan Levkivskyi, PR [ 20150] ( https://github.com/python/mypy/pull/20150 ) )
4546- Use self-descriptive cache with type tags (Ivan Levkivskyi, PR [ 20137] ( https://github.com/python/mypy/pull/20137 ) )
4647- Use fixed format for cache metas (Ivan Levkivskyi, PR [ 20088] ( https://github.com/python/mypy/pull/20088 ) )
4748- Make metas more compact; fix indirect suppression (Ivan Levkivskyi, PR [ 20075] ( https://github.com/python/mypy/pull/20075 ) )
0 commit comments