D-Programming-Language/phobos — pull request #1906 by blackwhale (2014-02-03 19:50:04+00:00)
Title: Fix issue 12069

On Win32 allocating large blocks (>512K) is forwarded to
VirtualAlloc/VirtualFree. Doing these calls is expensive especially in a
loop. As a temporary solution a block size of a segmented stack is
decreased to ~1/8 of critical size.

The code needs to be adapted once allocators are in std.