about summary refs log tree commit diff
path: root/src/libexpr/json-to-value.cc
AgeCommit message (Collapse)AuthorFilesLines
2015-07-23 Optimize small listsEelco Dolstra1-1/+1
The value pointers of lists with 1 or 2 elements are now stored in the list value itself. In particular, this makes the "concatMap (x: if cond then [(f x)] else [])" idiom cheaper.
2014-09-19 Store Attrs inside BindingsEelco Dolstra1-3/+8
This prevents a double allocation per attribute set.
2014-08-20 Use proper quotes everywhereEelco Dolstra1-3/+3
2014-07-04 Add builtin function ‘fromJSON’Eelco Dolstra1-0/+144
Fixes #294.