List of Phobos functions that allocate memory?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Feb 6 12:23:37 PST 2014


On 2/6/14, 11:54 AM, Sean Kelly wrote:
> 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.

I think it's okay to put this on the backburner and revisit it later.

Andrei


More information about the Digitalmars-d mailing list