ceylon/ceylon-compiler — Issue #378: Use Box/Ref type for captured locals
Author: FroMage
Created: 2012-02-17 09:48:53+00:00
State: open
Labels: BEGINNER, FEATURE

Instead of creating inner classes for local non-getter captured attributes, we should store them into a `Box`/`Ref` type that has a `get`/`set` method. This way we gain on the number of created inner classes (less PermGen) and they should be more efficient since they wouldn't capture the environment.