plaa/openrocket — pull request #7 by kruland2607 (2012-11-30 20:26:24+00:00)
Title: Improve startup time - loading motors and presets

With the large preset database and numerous thrustcurve files to load, startup time has suffered some. The concurrent loaders help, but we are still receiving bug reports that one of the other of these processes takes too long (indicated by RejectedExecutionExceptions).

This patch changes component presets and motors to being Java Serializable. The build process generates serialized representation of the preset and motor databases and puts those files in the resulting jar file. The application startup then loads motors and presets from the serialized forms. This is much faster.

The startup still loads user added preset and motor files using old file formats (orc, rse, and eng files).

The serialized forms are committed to the repository so developers can work effectively because the application startup does not attempt to read old formats from the workspace.