0 Replies Latest reply on Mar 27, 2009 3:33 PM by Jason Szeto

    [svn:fx-3.x] 5690: SDK-15417 Performance issue with AIR Flex DragManager

    Jason Szeto Level 3
      Revision: 5690
      Author: jszeto@adobe.com
      Date: 2009-03-27 16:33:31 -0700 (Fri, 27 Mar 2009)

      Log Message:
      SDK-15417 Performance issue with AIR Flex DragManager
      SDK-19249 NativeDragManager calls DragSource handler function too soon

      Instead of copying the data from the Clipboard to the DragSource (and back), we now pass in a function handler which delays copying the data until it is needed. I created a new helper class called DragDataFormatFetcher. I used this approach instead of using function closures because function closures have a high instantiation and memory cost.

      QE Notes: Add tests to check that the data is not accessed until the user requests it
      Doc Notes: none
      Bugs: SDK-15417, SDK-19249
      Reviewer: Hans, Alex

      Ticket Links:

      Modified Paths:
      flex/sdk/branches/3.x/frameworks/projects/airframework/src/mx/managers/NativeDragManagerI mpl.as