[Issue 16219] New: std.experimental.allocator.makeArray does unnecessary allocations for ranges with length

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jun 29 10:53:20 PDT 2016


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

          Issue ID: 16219
           Summary: std.experimental.allocator.makeArray does unnecessary
                    allocations for ranges with length
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: jack at jackstouffer.com

makeArray does not use length information for input ranges if it exists,
causing extra calls to malloc.

--


More information about the Digitalmars-d-bugs mailing list