Search code examples
gwtgwt2

Tradeoffs for using soft permutations in GWT?


I am exploring using soft permutations in my build of GWT because total file system size of the compiled app is important to me (read: sum of all permutations). Aside from increasing the file size the user has to download and potential runtime performance decreases, is there any other drawbacks to using soft permutations? Any loss of localization functionality (number formatting and the like)?

For clarification, this is what I am calling soft permutations.

Thanks in advance.


Solution

  • I don't think there are others, except that there might be incompatibilities with existing generators/linkers (I recently proposed a patch to GWT using soft permutations and it got rolled back at least twice, before being revisited with a runtime check but no soft permutation). See commits r9970 through r10257.