Summary: @noheap annotation
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD

--- Comment #0 from 2010-11-15 13:44:26 PST ---
In D often heap allocations are the main cause of low performance code, or they
may cause less deterministic code (in video games, etc).

A function annotation named "@noheap" may help (similar to @nothrow), it makes
sure a function/method contains no heap allocations (new of
arrays/objects/structs, array concat, array append, closures, associative array
insertions, malloc/realloc/calloc, and so on, but not alloca()) and doesn't
call other things that perform heap allocations.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to