From 60947963a69b4040a318c3d6f33a988b51e69b79 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Wed, 30 Dec 2009 18:33:10 -0800 Subject: [PATCH] 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 --- gerrit-gwtui/pom.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gerrit-gwtui/pom.xml b/gerrit-gwtui/pom.xml index 95764e5ced..ad62160c98 100644 --- a/gerrit-gwtui/pom.xml +++ b/gerrit-gwtui/pom.xml @@ -193,6 +193,8 @@ limitations under the License. com.google.gerrit.GerritGwtUI -Xmx512m ${gwt.soyc} + true + true