You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by "Pons Rudy (JIRA)" <ji...@apache.org> on 2010/03/29 07:12:27 UTC

[jira] Updated: (COMDEV-39) [error]

     [ https://issues.apache.org/jira/browse/COMDEV-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pons Rudy updated COMDEV-39:
----------------------------

    Description:     (was: Some minor changes in JList and DefaultListModel wich will give better performance for huge data creation or range removal:
 - add package-private constructors DefaultListModel(Vector) and DefaultListModel(Object[]) to use directly with JList(Vector) and JList(Object[]). Theses contructors call directly the Vector(Collection) constructor, wich is must faster than the old insertion method.
 - modify DefaultListModel.removeRange : the old method remove each element one after the other, and each deletion cause an array copy. New method use instead subList(fromIndex, toIndex+1).clear(), wich will result on only one array copy.)
        Summary: [error]  (was: [classlib][swing] JList and DefaultListModel performance improvement)

> [error]
> -------
>
>                 Key: COMDEV-39
>                 URL: https://issues.apache.org/jira/browse/COMDEV-39
>             Project:  	 Community Development 
>          Issue Type: Improvement
>            Reporter: Pons Rudy
>            Priority: Minor
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.