Re: Ship with most modules disabled?
Jesse Glick <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.user-interface |
|---|---|
| Organization | Sun Microsystems |
| Message-ID | <[email protected]> |
Gili wrote: > [...] Is there a way to separate module initialization from module > usage? I mean, the only thing a module would need to initialize is > its visible components. So I should be able to mount a CVS > file-system for example, but maybe the CVS module is not actually > enabled/loaded until there is at least one mounted CVS file-system. > [...] That is more or less already the case. The remaining per-module startup overhead is pretty hard to optimize away any further. Future changes in class/JAR loading and settings initialization might make it a bit faster, but probably not much. Also particular modules do too much work and simply need to be fixed. For example, the debugger has a lot more senseless startup overhead than modules such as applet support, in part because it looks for stored breakpoints (in case an editor window is opened that has some). This is really off-topic for nbui; nbdev would be more appropriate. -J. -- Jesse Glick <mailto:[email protected]> x22801 NetBeans, Open APIs <http://www.netbeans.org/>