www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 16219] New: std.experimental.allocator.makeArray does


          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 puremagic.com
          Reporter: jack jackstouffer.com

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

Jun 29 2016