Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-26112

Layout optimization in PriorityQueue.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Previous
    • Layout - General
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      From profiling, we have agreed to pursue one optimization in layout to use typed objects in PriorityQueue.

      Here are the relevant details from the thread:

      If we are talking just priority queue and tightening up the types, then it should be non-invasive, though would require a deep cyclone.

      Suggested scope from Scott:

      It seems like there should be some helper class like DictWithLen or something like:

      Class DictWithLen
      {
      Public var length:int;
      Public var items:Dictionary;
      }

      And that arrayOfDictionaries should be a Vector of said type.
      Also, the repetitious indexing into arrayOfDictionaries should really be factored away.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: