On exceptions in D

Dmitry Olshansky dmitry.olsh at gmail.com
Mon Feb 10 02:15:26 PST 2014


10-Feb-2014 07:09, Jonathan M Davis пишет:
> but given that
> those should be fairly rare, and they usually aren't super performance
> sensitive, having them be managed by the GC isn't all that big a deal IMHO.

Let's please stop this trend. A built-in feature should be made as fast 
as possible, no amount of good excuses will let us avoid that.

If we all agree that having some sort of pool for exceptions is what it 
takes why putting the burden on all our users to reinvent it?
Moreover the user in question must also redo a bit of homework to 
understand that allocating exceptions is what slows his/her code down.

-- 
Dmitry Olshansky


More information about the Digitalmars-d mailing list