If I have this:

private var _myvar:int;
public function get myvar():int
{
  return _myvar;
}

should I try to refer to it in other parts of the same class as _myvar, or
is myvar equally efficient?  In Delphi, you can define a property like:

FMyVar: Integer;
property MyVar:Integer read FMyVar;

and all references to MyVar automatically get optimized to FMyVar.  But I'm
wondering if Flex optimizes out the unnecessary function call represented
above.

-- 
Jason

Reply via email to