[Issue 936] New: Optimization by compiler hints
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Feb 6 17:14:15 PST 2007
http://d.puremagic.com/issues/show_bug.cgi?id=936
Summary: Optimization by compiler hints
Product: D
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: arkangath at gmail.com
The Microsoft C++ compiler used compiler hints such as assume(var<[constant]);
to help the compiler optimize code. DMD could also benefit from similar hints
to improve optimizations.
Actually, rather than removing "assert"s from debug code, why not use it's
conditions to optimize code in release version?
--
More information about the Digitalmars-d-bugs
mailing list