[Issue 3407] [tdpl] Compiling with -safe -release must keep all bound checks
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Oct 30 06:45:50 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=3407
Don <clugdbug at yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |clugdbug at yahoo.com.au
--- Comment #1 from Don <clugdbug at yahoo.com.au> 2009-10-30 06:45:47 PDT ---
I don't understand the reasoning behind this. The primary reason you use
-release is to turn off bounds checking, because bounds checking is *really*
slow.
This change would basically make -safe and -release incompatible in practice:
why on earth would you use both?
Up to now, -safe has been entirely about compile-time checks. Here, you're
making it insert runtime checks as well, so that compile-time safety incurs a
run-time penalty. I don't like that at all.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list