Difference between revisions of "Stuff in Phobos That Generates Garbage"

From D Wiki
Jump to: navigation, search
(Created page with "{| class="wikitable" ! Module ! Artifact ! Possible Fix(es) |- | <tt>std.algorithm</tt> | <tt>Levenshtein</tt> | Use reference counting in conjunction with <tt>GC.malloc</tt>...")
 
Line 9: Line 9:
 
|-  
 
|-  
 
| <tt>std.array</tt>
 
| <tt>std.array</tt>
| <tt>unintializedArray</tt>
+
| <tt>minimallyIntializedArray</tt>
 
| Pass in a memory management policy
 
| Pass in a memory management policy
 
|-  
 
|-  
 
|
 
|
| <tt>minimallyIntializedArray</tt>
+
| <tt>unintializedArray</tt>
 
| Pass in a memory management policy
 
| Pass in a memory management policy
 
|}
 
|}

Revision as of 19:49, 3 October 2014

Module Artifact Possible Fix(es)
std.algorithm Levenshtein Use reference counting in conjunction with GC.malloc/GC.free
std.array minimallyIntializedArray Pass in a memory management policy
unintializedArray Pass in a memory management policy