Hi,
I am putting together a patch for ArrayList to support square-bracket
indexing and for-each loops, see:
https://issues.apache.org/jira/browse/FLEX-15159
I am confused by the existence of not one, but two ArrayList classes:
the "original" one at mx.collections.ArrayList and another one at
It looks like the second ArrayList was introduced by Justin Mclean in
this commit:
https://github.com/apache/flex-sdk/commit/621e4debe8cd46e9ec5a197256dc2b6e32fc47c3
I can't figure out why it was included though. Justin?
Thanks
Gareth
On 10/05/15 11:29, Gareth Smith wrote:
Hi,
I am pu
at the second
> > ArrayList has different update event logic so it may be that it was safer
> > to create a different ArrayList so we wouldn’t have to worry about
> > backward compatibility issues.
> >
> > -Alex
> >
> > On 5/13/15, 2:31 PM, "Gareth Smith"
ectionView-tp23272.html
On May 15, 2015, at 7:40 PM, Gareth Smith
wrote:
The discussion on this was in March 2013.
This is it, I think:
http://apache-flex-development.247.n4.nabble.com/ArrayList-itemUpdate
Handler-Change-td7774.html
It looks to me like the intention of the person who orig
/set Item): 0.8 sec
new ArrayList (get/set Item): 0.9 sec
new ArrayList ([]): 5.6 sec
In summary, indexing sugar is really slow, but get/set item don't seem
to get much slower just by implementing Proxy.
Gareth
On 18/05/15 06:56, Alex Harui wrote:
On 5/17/15, 9:22 AM, "Gareth Smith&qu
Justin,
I did it in a debug player - oops. I have just redone the tests in a
release player, and with objects in addition to integers. I am using
flashplayer 11 on Linux because that is the latest version available.
Timings for incrementing each integer in a million item array:
Array: 0.1 se
?
-Alex
On 5/19/15, 2:25 PM, "Gareth Smith" wrote:
I have done some very unscientific tests: for each kind of list (Array,
old ArrayList, new ArrayList, new ArrayList - using sugar) the test code
creates a million-item array and then increments each value that it
contains.
This is how long
Hi Erik,
Thanks for your help.
I have setup the tests according to the wiki page, but I have a few
questions:
1. The logical project for my test (i.e. the project containing
mx.collections.ArrayList) seems to be the "framework" project. I am
confused by the name of this project being "frame