lix/doc/manual/src
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
..
advanced-topics Convert short nix options to long ones 2023-05-17 08:10:30 +01:00
architecture doc/manual: Fix broken internal links 2023-01-10 22:30:41 +01:00
command-ref Merge pull request #8337 from fricklerhandwerk/channel-files 2023-05-17 12:21:20 -04:00
contributing Convert short nix options to long ones 2023-05-17 08:10:30 +01:00
figures Move figures 2020-07-24 12:58:31 +02:00
installation Convert short nix options to long ones 2023-05-17 08:10:30 +01:00
language Describe the or operation on attribute sets slightly more 2023-05-12 11:03:09 -07:00
package-management Convert short nix options to long ones 2023-05-17 08:10:30 +01:00
release-notes primops: lazy evaluation of replaceStrings replacements 2023-05-25 18:35:23 -04:00
glossary.md Merge pull request #8358 from fricklerhandwerk/output-addressed-references 2023-05-17 09:38:18 -04:00
introduction.md Convert short nix options to long ones 2023-05-17 08:10:30 +01:00
quick-start.md Update doc/manual/src/quick-start.md 2023-02-19 20:00:02 -05:00
SUMMARY.md.in Merge pull request #8141 from tweag/user-files-doc 2023-05-15 07:11:47 -04:00