avm2

Friend types are slow ... really?

If you followed the post about friend types or the discussion about that topic on the haXe mailing list started by Michael Baczynski, you may believe that friend types can be slow. This is true (we are talking about targeting flash 9 here) if you use a temporary variable to "cast" the friend instance, but there is a workaround for that.