[phobos] [D-Programming-Language/phobos] b64c09: fix issue 12069

GitHub noreply at github.com
Mon Feb 3 13:49:57 PST 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: b64c0919162a2bb9ac730f6f3980fe527c1bc9e0
      https://github.com/D-Programming-Language/phobos/commit/b64c0919162a2bb9ac730f6f3980fe527c1bc9e0
  Author: Dmitry Olshansky <dmitry.olsh at gmail.com>
  Date:   2014-02-03 (Mon, 03 Feb 2014)

  Changed paths:
    M std/regex.d

  Log Message:
  -----------
  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.


  Commit: 908908164cbcf3fb6690912b155cd133c4861392
      https://github.com/D-Programming-Language/phobos/commit/908908164cbcf3fb6690912b155cd133c4861392
  Author: Walter Bright <walter at walterbright.com>
  Date:   2014-02-03 (Mon, 03 Feb 2014)

  Changed paths:
    M std/regex.d

  Log Message:
  -----------
  Merge pull request #1906 from blackwhale/issue-12069

Fix issue 12069


Compare: https://github.com/D-Programming-Language/phobos/compare/490d34d1e84f...908908164cbc


More information about the phobos mailing list