diff options
author | sterni <sternenseemann@systemli.org> | 2024-03-12T20·08+0100 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-03-12T21·23+0000 |
commit | dc9c2c9b0c9a33f71038770441e9762698348540 (patch) | |
tree | 9fe36bd0a1307875982330baba01254489a4db50 /tvix | |
parent | 514edc2ea52bfade7770ed35e0bf40aa1b4e9fde (diff) |
docs(tvix/eval): C++ Nix now has deduplicated inherit (from) r/7687
Change-Id: Icf74c699130c2ab774973a7e98bc44ffba8c5ec2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11139 Tested-by: BuildkiteCI Autosubmit: sterni <sternenseemann@systemli.org> Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix')
-rw-r--r-- | tvix/eval/docs/known-optimisation-potential.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tvix/eval/docs/known-optimisation-potential.md b/tvix/eval/docs/known-optimisation-potential.md index 951771e739a7..0ab185fe1be2 100644 --- a/tvix/eval/docs/known-optimisation-potential.md +++ b/tvix/eval/docs/known-optimisation-potential.md @@ -157,3 +157,6 @@ optimisations, but note the most important ones here. be used. We should create a phantom binding for the from expression that is reused in the inherits, so only a single thunk is created for the from expression. + + Since we discovered this, C++ Nix has implemented a similar optimization: + <https://github.com/NixOS/nix/pull/9847>. |