lix/doc/manual
polykernel a382919d7d
primops: lazy evaluation of replaceStrings replacements
The primop `builtins.replaceStrings` currently always strictly evaluates the
replacement strings, however time and space are wasted for their computation
if the corresponding pattern do not occur in the input string. This commit
makes the evaluation of the replacement strings lazy by deferring their
evaluation to when the corresponding pattern are matched and memoize the result
for efficient retrieval on subsequent matches.

The testcases for replaceStrings was updated to check for lazy evaluation
of the replacements. A note was also added in the release notes to
document the behavior change.
2023-05-25 18:35:23 -04:00
..
src primops: lazy evaluation of replaceStrings replacements 2023-05-25 18:35:23 -04:00
theme doc/manual: don't need to copy highlight.js manually 2021-08-04 19:47:05 -07:00
anchors.jq doc: Port anchors preprocessor to jq script 2022-05-26 18:17:21 +02:00
book.toml manual: Check links 2023-01-10 22:30:41 +01:00
custom.css disallow selecting shell prompt in code samples 2022-12-05 11:01:46 +01:00
generate-builtins.nix doc rendering: add functions to scope explicitly (#7378) 2023-05-03 07:16:29 +00:00
generate-manpage.nix doc rendering: add functions to scope explicitly (#7378) 2023-05-03 07:16:29 +00:00
generate-xp-features-shortlist.nix Single page for experimental feature descriptions 2023-04-09 11:01:23 -04:00
generate-xp-features.nix Single page for experimental feature descriptions 2023-04-09 11:01:23 -04:00
local.mk display documentation on manifest files separately 2023-04-28 12:10:36 +02:00
quote-literals.xsl
redirects.js add redirect to track moved uninstall section 2023-05-03 11:39:29 +02:00
utils.nix Mark experimental configuration settings programmatically 2023-04-16 10:58:04 -04:00