Updated State of the Lambda
Brian Goetz
brian.goetz at oracle.com
Tue Oct 19 09:24:47 PDT 2010
> The argument of not referring to 'this' as the lambda uses a argument to say that a lambda that doesn't hold onto the enclosing class' instance will be more memory efficient than one that does (c.f. inner classes).
No, it does not. This is not part of the argument for or against, this is simply an observation about a desirable characteristic. The decision was made before making this particular observation. Inner classes could potentially also acquire this characteristic, as you point out, though compatibility becomes more of an issue with that (and it is not currently under consideration.)
More information about the lambda-dev
mailing list