This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 226049

Summary: Inefficient usage of LinkedList
Product: platform Reporter: Tomas Hurka <thurka>
Component: FilesystemsAssignee: Tomas Hurka <thurka>
Status: RESOLVED FIXED    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Tomas Hurka 2013-02-13 09:59:27 UTC
Instead of LinkedList it better to use ArrayList or ArrayDequeue. They use less memory and in some situation are even faster.
Comment 1 Tomas Hurka 2013-02-13 10:02:02 UTC
Updated description:

It is better to use ArrayList or ArrayDeque instead of LinkedList. They use less
memory and in some situation are even faster.
Comment 2 Quality Engineering 2013-02-14 02:20:14 UTC
Integrated into 'main-golden', will be available in build *201302132300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4fd37264f9cb
User: Tomas Hurka <thurka@netbeans.org>
Log: issue #226049, do not use LinkedList in masterfs
Comment 3 Tomas Hurka 2013-09-02 14:47:23 UTC
Fixed in NB 7.4.