List of Phobos functions that allocate memory?

Walter Bright newshound2 at digitalmars.com
Sat Feb 8 21:29:27 PST 2014


On 2/8/2014 2:59 PM, "Ola Fosheim Grøstad" 
<ola.fosheim.grostad+dlang at gmail.com>" wrote:
> On Saturday, 8 February 2014 at 22:03:13 UTC, Walter Bright wrote:
>> You can make the lookup faster by compromising the function code generation,
>> but this is considered an unacceptable tradeoff.
>
> "Compromising"? You mean they had to modify codegen, which they didn't want to.
> Clearly, if you know the return address you also could have stack info access
> close to it (at a fixed offset), at no runtime cost whatsoever.

Ola, I've done it both ways, I actually do know what I'm talking about.

I've sometimes been proven wrong here, so you're welcome to do a pull request 
proving so.


More information about the Digitalmars-d mailing list