List of Phobos functions that allocate memory?
Sean Kelly
sean at invisibleduck.org
Thu Feb 6 11:54:26 PST 2014
On Thursday, 6 February 2014 at 18:52:21 UTC, fra wrote:
> On Thursday, 6 February 2014 at 18:20:56 UTC, Andrei
> Alexandrescu wrote:
>>> One interesting point is that module that were written with
>>> avoiding
>>> allocations in mind usually still allocate when throwing
>>> exceptions.
>>
>> Good point, we need to address that as well.
>
> Hey, wait a second. How do you throw without allocating?
Does this case even matter? Exceptions are not a normal function
of execution, and so should happen rarely to never. And it's a
time when I'd expect a delay anyway.
More information about the Digitalmars-d
mailing list