Am 13.07.2013 07:41, schrieb Ed Ryzhov:
> Hi, just wanted to let you know that I wrote a small library that
> implements the lambda via macros.
>
> It is here -
https://github.com/ryzed/LambdaMacro
>
> Tests show an increase in performance compared to a conventional
> lambda to 20 times.
> Link to the test -
http://gametrax.eu/game/35a3c97a95 (warning, can be
> slow!)
>
> Hope someone finds it useful, especially for games.
Looks good!
You may want to change your arguments from Expr to ExprOf<Iterable<T>>
etc. so completion doesn't show up in inappropriate places. Also, you
have to consider empty iterables when working with code like
"$a.iterator().next()", which may return null.
Simon