From dc9c2c9b0c9a33f71038770441e9762698348540 Mon Sep 17 00:00:00 2001 From: sterni Date: Tue, 12 Mar 2024 21:08:26 +0100 Subject: docs(tvix/eval): C++ Nix now has deduplicated inherit (from) Change-Id: Icf74c699130c2ab774973a7e98bc44ffba8c5ec2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11139 Tested-by: BuildkiteCI Autosubmit: sterni Reviewed-by: flokli --- tvix/eval/docs/known-optimisation-potential.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tvix') 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: + . -- cgit 1.4.1