https://issues.dlang.org/show_bug.cgi?id=21929 --- Comment #14 from Walter Bright <bugzilla at digitalmars.com> --- I don't much care for the "allocate every iteration of the loop" because it may not be obvious to the user that this is happening, and may cause an awful lot of memory to be allocated. --