* Store Value nodes outside of attribute sets. I.e., Attr now stores
a pointer to a Value, rather than the Value directly. This improves the effectiveness of garbage collection a lot: if the Value is stored inside the set directly, then any live pointer to the Value causes all other attributes in the set to be live as well.
This commit is contained in:
		
							parent
							
								
									64c3325b0b
								
							
						
					
					
						commit
						41c45a9b31
					
				
					 15 changed files with 150 additions and 130 deletions
				
			
		|  | @ -38,7 +38,7 @@ static bool indirectRoot = false; | |||
| 
 | ||||
| 
 | ||||
| void processExpr(EvalState & state, const Strings & attrPaths, | ||||
|     bool parseOnly, bool strict, const Bindings & autoArgs, | ||||
|     bool parseOnly, bool strict, Bindings & autoArgs, | ||||
|     bool evalOnly, bool xmlOutput, bool location, Expr * e) | ||||
| { | ||||
|     if (parseOnly) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue