On 17.06.2011 16:12, dsimcha wrote:
On 6/16/2011 11:46 PM, Andrei Alexandrescu wrote:

* The synopsis should use scope(exit) TempAlloc.frameFree(); as that is
a robust idiom.

Good point.

Please note that "scope(exit) { ... }" has its own significant performance overhead since it is implemented using the exception-handling stack-unwinding mechanics even in the uninterrupted case where no exception is thrown. I think dmd needs to improve on this.

Reply via email to