← Back to index
|
Original Bugzilla link
Bug 16219 – std.experimental.allocator.makeArray does unnecessary allocations for ranges with length
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-06-29T17:53:00Z
Last change time
2016-10-01T11:46:02Z
Assigned to
nobody
Creator
jack
Comments
Comment #0
by jack — 2016-06-29T17:53:20Z
makeArray does not use length information for input ranges if it exists, causing extra calls to malloc.
Comment #1
by jack — 2016-06-29T18:00:30Z
https://github.com/dlang/phobos/pull/4503
Comment #2
by github-bugzilla — 2016-06-30T10:02:51Z
Commits pushed to master at
https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/833bca4aa51e772e0b178b8f1a772e296e38822f
Fixed Issue 16219: std.experimental.allocator.makeArray does unnecessary allocations for ranges with length
https://github.com/dlang/phobos/commit/7f3d8545dcf32b58a2309aef5842025fa9df3956
Merge pull request #4503 from JackStouffer/makeArray [Issue 16219] makeArray does unnecessary allocations for ranges with length
Comment #3
by github-bugzilla — 2016-10-01T11:46:02Z
Commits pushed to stable at
https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/833bca4aa51e772e0b178b8f1a772e296e38822f
Fixed Issue 16219: std.experimental.allocator.makeArray does unnecessary allocations for ranges with length
https://github.com/dlang/phobos/commit/7f3d8545dcf32b58a2309aef5842025fa9df3956
Merge pull request #4503 from JackStouffer/makeArray