On 2014-06-20 10:29 AM, H. S. Teoh via Digitalmars-d wrote:
True. Actually, I did my disassembly test again, and now I can't seem to
coax gdc to optimize out the .exists flag, esp. when .or is involved.
Perhaps that was a little too ambitious; maybe it's better to stick with
the original simple solution after all. :P


T


Try marking the or method as const, and the bool as immutable maybe?

Reply via email to