Does D have too many features?
David Nadlinger
see at klickverbot.at
Sun Apr 29 01:07:38 PDT 2012
On Saturday, 28 April 2012 at 23:51:43 UTC, Jonathan M Davis
wrote:
> But even just storing it in a local variable to use later
> could destroy the locality enough to defeat LDC's optimization.
Huh? I can't think of a situation where a hash table lookup would
entail less indirections than dereferencing a pointer stored in a
register (resp. the stack, depending on scheduling).
David
More information about the Digitalmars-d
mailing list