D-Programming-Language/phobos — pull request #2195 by JamesDavidCarr (2014-05-22 19:36:29+00:00)
Title: Changed distance() to be more memory efficient based on email from mailing list.

Changed the implementation so that it uses a smaller array and overwrites it on loop iterations.

http://forum.dlang.org/thread/rwrjgydeiytufcuiqaqk@forum.dlang.org