Home Explore Blog CI



nix

1st chunk of `doc/manual/source/release-notes/rl-2.16.md`
e1486cf6d3d003281de68f9abeea5d65d4ea01c3b152cbce00000001000002db
# Release 2.16 (2023-05-31)

* Speed-up of downloads from binary caches.
  The number of parallel downloads (also known as substitutions) has been separated from the [`--max-jobs` setting](../command-ref/conf-file.md#conf-max-jobs).
  The new setting is called [`max-substitution-jobs`](../command-ref/conf-file.md#conf-max-substitution-jobs).
  The number of parallel downloads is now set to 16 by default (previously, the default was 1 due to the coupling to build jobs).

* The function [`builtins.replaceStrings`](@docroot@/language/builtins.md#builtins-replaceStrings) is now lazy in the value of its second argument `to`. That is, `to` is only evaluated when its corresponding pattern in `from` is matched in the string `s`.

Title: Nix Release 2.16 (2023-05-31) - Performance Improvements and Feature Enhancements
Summary
Release 2.16 of Nix includes a speed-up of downloads from binary caches by decoupling the number of parallel downloads from the `--max-jobs` setting, introducing a new `max-substitution-jobs` setting (defaulting to 16). Additionally, the `builtins.replaceStrings` function is now lazy in the evaluation of its second argument `to`, improving efficiency.