What's up anyway -
bearophile
bearophileHUGS at lycos.com
Thu Oct 15 04:53:54 PDT 2009
Justin Johansson:
> downs:
> > Also I have no idea what you mean. Should delegate _values_ be heap allocated?! That'd be insanity. Also, I'm fairly sure you're wrong. The stack is relatively likely to be in the CPU cache. A random pointer dereferencing .. isn't. Also, do you really want to heap even more work on the ailing GC?
>
> I will be bold and say yes to off-stack allocation,
> whether that be in the general heap or other (and probably other to avoid an "ailing CG").
This is a nice situation: with just 10-20 minutes of experimental tests (that later you have to show us) you can show us you are right, or wrong.
Bye,
bearophile
More information about the Digitalmars-d
mailing list