My favorites | Sign in
Project Home Downloads Wiki Issues Source
Techniques for controlling permutation explosion
Updated Mar 4, 2010 by


Historically, the GWT compiler would produce the full Cartesian product of deferred-binding property/value pairs and then produce a permutation for each set of unique rebind answers. For large projects, the number of permutations increases rapidly as these projects tend to have multiple permutation axes. As as example, user.agent * locale * log.level * user.kind could easily result in hundres of permutations. Because each permutation is optimized individually and produces a unique collection of JavaScript, reducing the number of permutations can shorten compile cycles and reduce storage requirements.

The GWT compiler offers these mechanisms for controlling the number of permutations produced:

  • Conditional properties allow the permutation matrix to be reduced by expressing relationships between deferred-binding properties.
  • Soft permutations use runtime selection of implementation types within a permutation.

Comment by djjeck, Oct 19, 2010

which are all the available deferred-binding properties?

Comment by, May 20, 2014

Sign in to add a comment
Powered by Google Project Hosting