List of Phobos functions that allocate memory?

Walter Bright newshound2 at digitalmars.com
Mon Feb 10 19:57:30 PST 2014


On 2/9/2014 2:17 AM, Dmitry Olshansky wrote:
> If you can show me how a single unconditional jump propagates error code 4 calls
> up the stack I'm sold.
>
> I do understand it's slow, it's not that slow to make difference in the
> discussed case. It's all about jumping to the wrong conclusions.
>
> To put it in one pitch: it should be possible to throw/catch in excess of 100k
> exceptions per second no problem at all (assuming a single core of some run of
> the mill modern CPU).
>
> Nobody is asking to optimize it better then the normal flow.

It's the table lookup that's inherently slow.



More information about the Digitalmars-d mailing list