Disable unnecessary class operations

We're reasonably certain our downcasts are correct, so we can reduce
our code size and improve speed slightly by disabling downcasts.

We also hardly use the class names, so we can drop the class
metadata objects from the build.  This saves a lot of string data
from appearing in the string pool.

Together these optimizations reduce our initial download *.cache.html
files by about 30K.

Change-Id: I5dc633d5bafc1eddf8ac491ae6fe1e643222ffa1
Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
Shawn O. Pearce
2009-12-30 18:33:10 -08:00
parent 788de3cc38
commit 60947963a6

View File

@@ -193,6 +193,8 @@ limitations under the License.
<module>com.google.gerrit.GerritGwtUI</module>
<extraJvmArgs>-Xmx512m</extraJvmArgs>
<soyc>${gwt.soyc}</soyc>
<disableClassMetadata>true</disableClassMetadata>
<disableCastChecking>true</disableCastChecking>
</configuration>
<executions>
<execution>