How about a Hash template?

Alexander aldem+dmars at nk7.net
Fri Apr 29 17:11:14 PDT 2011


On 30.04.2011 01:21, Denis Koroskin wrote:

> That's just an optimizer issue. Even if you replace the code body with "return false;" (i.e. not found) it's STILL slower than straight comparison.

2x? Hardly, IMHO.

/Alexander


More information about the Digitalmars-d mailing list