www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15003] New: assumeSorted Allocates GC Memory in Debug Mode

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

          Issue ID: 15003
           Summary: assumeSorted Allocates GC Memory in Debug Mode
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: jack jackstouffer.com

While assumeSorted is marked as  nogc in release mode, while developing this
makes it so that any range based code that works with assumeSorted cannot be
marked as  nogc, which is especially bad for end-user functions but also hurts
Phobos.

--
Sep 02 2015