aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/attr-set.hh
AgeCommit message (Collapse)Author
2019-06-03Bindings: Add convenience method for requiring an attributeEelco Dolstra
2019-02-11Bindings::get(): Add convenience methodEelco Dolstra
This allows writing attribute lookups as if (auto name = value.attrs->get(state.sName)) ...
2018-02-19libexpr: Don't create lots of temporary strings in Bindings::lexicographicOrderTuomas Tynkkynen
Avoids ~180,000 string temporaries created when evaluating a headless NixOS system.
2017-01-26Bindings: Add a method for iterating in lexicographically sorted orderEelco Dolstra
2015-07-14Move attribute set data structures into their own header file.Nicolas B. Pierron
This modification moves Attr and Bindings structures into their own header file which is dedicated to the attribute set representation. The goal of to isolate pieces of code which are related to the attribute set representation. Thus future modifications of the attribute set representation will only have to modify these files, and not every other file across the evaluator.