[Issue 13159] std.socket.getAddress allocates once per DNS lookup hit

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Jul 20 12:32:17 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13159

--- Comment #3 from github-bugzilla at puremagic.com ---
Commit pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/96893cbf467524d05d9f8b0f51398585ca77a423
Pre-allocate result array in getAddress and use Appender in getAddressInfoImpl

Fixes issue #13159

--


More information about the Digitalmars-d-bugs mailing list