Anonymous function syntax
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Thu Sep 22 15:52:52 PDT 2011
On 09/22/11 16:08, bearophile wrote:
> Andrei Alexandrescu:
>
>> A function literal should be comparable to another for equality.
>
> Are you willing to explain me why, and show an use case?
An important application is optimizing for specific lambdas (e.g.
equality). For example, a substring search using equality for characters
could use bitwise comparison.
Andrei
More information about the Digitalmars-d
mailing list