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

ResourceManagerImpl should implement some kind of lazy loading

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      ResourceManagerImpl loads all the resource bundles in memory at startup (see ResourceManagerImpl#processInfo)

      On mobile environnements, it's slow and waste some memory

      With this patch, the ResourceManagerImpl loads the resource bundle only when needed.

      The patch is probably not production ready, please review thoroughly.

      Attachments

        1. 0001-lazy-loading-of-resource-bundles.patch
          4 kB
          Benoit Wiart
        2. before.png
          39 kB
          Benoit Wiart
        3. after.png
          36 kB
          Benoit Wiart

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jmclean Justin Mclean
            benoitw Benoit Wiart
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment