[Issue 15003] New: assumeSorted Allocates GC Memory in Debug Mode

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Sep 2 09:18:57 PDT 2015


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

--


More information about the Digitalmars-d-bugs mailing list