0 Replies Latest reply on Feb 26, 2008 1:56 PM by mike_morearty

    [svn] 663: Fix SDK-14201: Performance: embedded images are written into the swf one byte at a time.

    mike_morearty Level 1
      Revision: 663
      Author: mmoreart@adobe.com
      Date: 2008-02-26 13:56:08 -0800 (Tue, 26 Feb 2008)

      Log Message:
      -----------
      Fix SDK-14201: Performance: embedded images are written into the swf one byte at a time.

      This changes the way swfs are written out when they contain embedded lossless images,
      such as PNGs and GIFs. The old code had a loop to write a byte at a time; the new code
      does a single biblt. The result is a modest compilation speedup, on the order of
      several hundred milliseconds when compiling Flexstore.

      (This already went into the trunk as revision 658.)

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-14201

      Modified Paths:
      --------------
      flex/sdk/branches/3.0.x/modules/swfutils/src/java/flash/swf/TagEncoder.java