royale-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com.INVALID>
Subject Re: ArrayCollection in Royale
Date Thu, 15 Feb 2018 08:20:23 GMT
If the goal is to further reduce the number of changes to migrated code,
we should just start a new component set.  IIRC, ArrayCollection usually
has very bad performance if you use array indexing to access it.
ArrayList should perform much better but you can't use array indexing.
Filtering and sorting should be written as beads.

My 2 cents,
-Alex

On 2/15/18, 12:11 AM, "Piotr Zarzycki" <piotrzarzycki21@gmail.com> wrote:

>Hi Carlos,
>
>We have ArrayList which is enough close to ArrayCollection. I have with
>success replace ArrayCollection to ArrayList in my examples.
>
>Thanks, Piotr
>
>2018-02-15 8:47 GMT+01:00 Carlos Rovira <carlosrovira@apache.org>:
>
>> Hi
>>
>> I saw Alina post in user list about substitutes and I think one
>>important
>> one is:
>>
>> import mx.collections.ArrayCollection; //very similar to
>> org.apache.royale.collections.TreeData
>>
>> In order to ease the port of Flex apps to Royale, one thing we try is to
>> reuse as much AS3 logic, while in UX we need to create all new code
>>
>> ArrayCollection is very close to business logic, and widely used in AMF
>> calls.
>>
>> I suggest we should have ArrayCollection in Royale and even respect
>> namespace to avoid users to change any line in AS3 code.
>>
>> Only with this point we can remove lots of pain in migration process
>>from
>> Flex to Royale
>>
>> what do you think?
>>
>> --
>> Carlos Rovira
>> 
>>https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%
>>2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C10ecbb5b8c464b4ed36708
>>d5744bcadb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C63654279123032447
>>4&sdata=RY6LraL22n2Yt9QiNyJc0FQms64yALaKy16%2FNW7XHJc%3D&reserved=0
>>
>
>
>
>-- 
>
>Piotr Zarzycki
>
>Patreon: 
>*https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C10ecbb5b8c464b
>4ed36708d5744bcadb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365427912
>30324474&sdata=mwO%2FFFYUAHHA8VlHeJQreNzUOMKzd%2BeqaMV6%2FNPhIKk%3D&reserv
>ed=0
><https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patr
>eon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C10ecbb5b8c464b
>4ed36708d5744bcadb%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6365427912
>30324474&sdata=mwO%2FFFYUAHHA8VlHeJQreNzUOMKzd%2BeqaMV6%2FNPhIKk%3D&reserv
>ed=0>*

Mime
View raw message