On 2013-11-18 09:14, Andrei Alexandrescu wrote:

I'm also concerned about generated code size and overall efficiency. It
looks like the assert(0) insertions are there simply to validate the
design (they only fail if Phobos has an internal error), so there should
be some means to remove them in release builds. We don't have such a
possibility at the moment.

Asserts are supposed to be removed in release builds. There's also the "debug" statement that can be used. Although it won't remove the try-catch.

--
/Jacob Carlborg

Reply via email to