From 14744713276870cf0380e31bee01124e1a2f4cb0 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Mon, 21 Oct 2024 15:34:40 +0200 Subject: docs(tvix/eval): update string context document NixString doesn't contain a `HashSet` anymore, there's a more packed internal data structure. We don't need to be overly specific in the docs, just say we expose an API. Change-Id: I13380c49293f9a86d1916909fdfeefbe64d9024b Reviewed-on: https://cl.tvl.fyi/c/depot/+/12755 Tested-by: BuildkiteCI Autosubmit: flokli Reviewed-by: edef --- tvix/docs/src/eval/build-references.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'tvix/docs/src') diff --git a/tvix/docs/src/eval/build-references.md b/tvix/docs/src/eval/build-references.md index dd53f65d83aa..6c0b88df1839 100644 --- a/tvix/docs/src/eval/build-references.md +++ b/tvix/docs/src/eval/build-references.md @@ -120,9 +120,10 @@ passes etc. In the past, Tvix did not track string contexts in its evaluator at all, see the historical section for more information about that. -Tvix tracks string contexts in every `NixString` structure via a -`HashSet` and offers an API to combine the references while -keeping the exact internal structure of that data private. +Tvix tracks string contexts in every `NixString` structure and offers an API to +do operations on the context (inherit/clear/…), as well as iterators over +(different types of) context elements, while keeping the exact internal +structure of that data private. ## Historical attempt: Persistent reference tracking -- cgit 1.4.1