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 41753 - PackageViewChildren does not scale
Summary: PackageViewChildren does not scale
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-04-06 16:33 UTC by Petr Nejedly
Modified: 2004-08-13 12:11 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Nejedly 2004-04-06 16:33:30 UTC
It can take several seconds to expand the packages
node for the first time, all blocking AWT.

It walks aroud all subfolders and files, turns
them into DataObjects first, sorts them (Um, the
comparator should better cache the paths) and then
displays them.

Don't try it on a larger noncached source folder.

Possible solution would be to cache the package
index, probably with low priority background
rescan for additions. Preferabely FS (not DS) based.
Comment 1 Petr Nejedly 2004-04-20 15:55:45 UTC
Petr is already working on it.
Comment 2 Petr Hrebejk 2004-04-26 09:34:37 UTC
The rewrite is done. It should be a bit faster now. Petr Nejedly please
cechk. That it is true. Thanks.