D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 15003 - assumeSorted Allocates GC Memory in Debug Mode
Summary: assumeSorted Allocates GC Memory in Debug Mode
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D2
Hardware: All All
: P1 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-02 16:18 UTC by Jack Stouffer
Modified: 2015-10-04 18:21 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Jack Stouffer 2015-09-02 16:18:57 UTC
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.