On 04/04/2017 04:08 AM, Atila Neves wrote:
I think the point here is that some people already use pre-allocated exceptions. With this proposal, they'd have to change their codebase or suddenly have it go much slower.
Isn't the main point of pre-allocated exceptions to improve control/determinism in memory usage/allocation?
I don't think speed is the issue. As I see it, the issue is that it takes "this throw was SPECIFICALLY DESIGNED to NOT affect the heap" and turns it into "this throw DOES affect the heap, even though the author went out of their way to deliberately prevent that".
