Home Explore Blog CI



nix

doc/manual/source/release-notes/rl-2.16.md
8b1a84b05841d154effc22953ff0bbc333dfa98e0bab899300000003000002db
# 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`.

Chunks
e1486cf6 (1st chunk of `doc/manual/source/release-notes/rl-2.16.md`)
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.