Bill Baxter:

>Or this avoids a double lookup if the symbol is present:<

In LDC both forms (and several other ones, if the usage of the pointer is 
local, and it doesn't get passed away) get simplified to the same single lookup 
code :-) (but not in DMD).
So much that you may even think of "in" to return just a boolean.
You can tell I like LDC a lot, it's the best thing happened to D in a lot of 
time.

Bye,
bearophile

Reply via email to