On 10/8/2013 8:38 PM, Andrei Alexandrescu wrote: > Only Levenshtein distance produces garbage in std.algorithm. Perhaps the documentation should reflect that: http://dlang.org/phobos/std_algorithm.html#levenshteinDistance