[ 
https://issues.apache.org/jira/browse/FLEX-34012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13856025#comment-13856025
 ] 

Maurice Amsellem commented on FLEX-34012:
-----------------------------------------

1) I have looked quickly at the code. It's not exactly what you describe in the 
steps.
The data has 100 colums but it also has *25000 rows*!

2) When you say "application would be halted for 30 secon", what are you 
talking about?  which step? 
because delArr() does not have any effect, as it's only nulling the array, not 
the ArrayCollection, / dataProvider

3) Also, I don't understand the goal of your test.
Are you testing deletion of all rows in a datagrid ?  or deletion of 
user-selected rows in the worst case (that is, when user selects all rows) ?

4) Did you run your code in the profile, or using Adobe Scout to see what is 
taking so much time ?

I suggest your clarify a bit the description of the issue, and your goals so 
that we can help you.

> Slow performance when trying to null Array after copy & paste large data
> ------------------------------------------------------------------------
>
>                 Key: FLEX-34012
>                 URL: https://issues.apache.org/jira/browse/FLEX-34012
>             Project: Apache Flex
>          Issue Type: Bug
>    Affects Versions: Adobe Flex SDK 4.6 (Release)
>            Reporter: Abhishek Dwevedi
>              Labels: easytest
>         Attachments: Main.mxml
>
>
> STEPS TO REPRODUCE:
> ===================
> 1. Run the attached Main.mxml
> 2. Click "Make Data (101 columns)"
> 3. Select all rows then click "Copy" 
> 4. Select all rows then click "Delete"
> 5. Click "Paste" 
> 6. Click "Delete Array"
> RESULT:
> =======
> Application would be halted for approximately 30 seconds.
> EXPECTED:
> =========
> Nulling Array should not take so much time. If you make data for 100 columns 
> in the above steps, the issue won't occur.
> WORKAROUND:
> ===========
> Not found yet.
> [Researched]
> ============
> * Using callLater() for nulling Array didn't help.
> * array = null is not helping
> * array.length = 0 is also not helpful.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to