February 03, 2014 [phobos] [D-Programming-Language/phobos] b64c09: fix issue 12069 | ||||
---|---|---|---|---|
| ||||
Attachments:
| 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@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@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 |
Copyright © 1999-2021 by the D Language Foundation