Inline some functions on the critical path

This commit is contained in:
Eelco Dolstra
2013-10-28 22:45:55 +01:00
parent 9769671260
commit b479dac8df
3 changed files with 17 additions and 14 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ rec {
if isList def then
listToAttrs (
flip imap def (elemIdx: elem:
nameValuePair "unnamed-${toString defIdx}.${toString elemIdx}" elem))
{ name = "unnamed-${toString defIdx}.${toString elemIdx}"; value = elem; }))
else
def;
listOnly = listOf elemType;