flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject [2/5] git commit: [flex-sdk] [refs/heads/develop] - FLEX-26325 Minor performance improvement
Date Sat, 04 May 2013 10:38:41 GMT
FLEX-26325 Minor performance improvement


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/a2974011
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/a2974011
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/a2974011

Branch: refs/heads/develop
Commit: a29740118643780dd4459b523aa4bfcb6a01dcdb
Parents: 3e740ed
Author: Justin Mclean <jmclean@apache.org>
Authored: Sat May 4 19:11:16 2013 +1000
Committer: Justin Mclean <jmclean@apache.org>
Committed: Sat May 4 19:11:16 2013 +1000

----------------------------------------------------------------------
 .../src/mx/messaging/messages/AbstractMessage.as   |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/a2974011/frameworks/projects/rpc/src/mx/messaging/messages/AbstractMessage.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/rpc/src/mx/messaging/messages/AbstractMessage.as b/frameworks/projects/rpc/src/mx/messaging/messages/AbstractMessage.as
index 9f51254..97d79ab 100644
--- a/frameworks/projects/rpc/src/mx/messaging/messages/AbstractMessage.as
+++ b/frameworks/projects/rpc/src/mx/messaging/messages/AbstractMessage.as
@@ -689,7 +689,8 @@ public class AbstractMessage implements IMessage
         }
         propertyNames.sort();
 
-        for (var i:uint = 0; i < propertyNames.length; i++)
+		var length:int = propertyNames.length;
+        for (var i:uint = 0; i < length; i++)
         {
             var name:String = String(propertyNames[i]);
             var value:String = RPCObjectUtil.toString(attributes[name]);


Mime
View raw message