about summary refs log tree commit diff
path: root/views
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-08-09T15·23+0300
committertazjin <tazjin@tvl.su>2022-08-13T20·24+0000
commitec1770f95ac33e3cfdb57c84f2b94fa63fbc0fb2 (patch)
treeb131a031815d2a4f223a220b3c34ceeca3214c13 /views
parente876c3a41c89bfc9d40ee64a4f12fb70d5357a87 (diff)
feat(tvix/vm): implement construction of optimised KV attrsets r/4438
For name/value pairs (which occur extremely often in Nix and make up a
significant chunk of the runtime cost of evaluating nixpkgs) we
substitute an optimised representation.

For now this will only be used if the name/value pair keys were
specified as literal identifiers or strings (i.e. if chunks are
encountered as keys they are not forced and a normal attribute set
backed by a map will be constructed).

Change-Id: Ic79746c323e627528bd58b1a6024ee8d0aff7858
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6102
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'views')
0 files changed, 0 insertions, 0 deletions