Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 63B0F101C1 for ; Sun, 29 Dec 2013 07:38:58 +0000 (UTC) Received: (qmail 13561 invoked by uid 500); 29 Dec 2013 06:36:55 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 13552 invoked by uid 500); 29 Dec 2013 06:36:52 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 13543 invoked by uid 99); 29 Dec 2013 06:36:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Dec 2013 06:36:51 +0000 Date: Sun, 29 Dec 2013 06:36:50 +0000 (UTC) From: "Justin Mclean (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLEX-33836) ResourceManagerImpl should implement some kind of lazy loading MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-33836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13858259#comment-13858259 ] Justin Mclean commented on FLEX-33836: -------------------------------------- Modified code and checked in. Wait to see if all test passing before resolving. > ResourceManagerImpl should implement some kind of lazy loading > -------------------------------------------------------------- > > Key: FLEX-33836 > URL: https://issues.apache.org/jira/browse/FLEX-33836 > Project: Apache Flex > Issue Type: Improvement > Components: Mobile: Performance, Performance: Framework > Affects Versions: Apache Flex 4.11.0 > Environment: Mobile (Air ios), Desktop > Reporter: Benoit Wiart > Assignee: Justin Mclean > Labels: mobile, performance > Attachments: 0001-lazy-loading-of-resource-bundles.patch, after.png, before.png > > > 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. -- This message was sent by Atlassian JIRA (v6.1.5#6160)