I'm attempting to implement code splitting with GIN in an Activities and Places context, using some of the ideas found here:
Due to the size of my application, I have around 50 split points corresponding to discrete Activities and/or views. According to the GWT compile report, I'm getting very little benefit from code splitting. Most of the code is getting shoved into the leftovers fragment, since so many of my split points share code. For instance, multiple split points have widgets built on top of common GXT widgets, so the GXT widget code ends up in the leftovers fragment, as it is not exclusive to any one split point.
My understanding is that if two or more split points share code, then that code can no longer be part of an exclusive fragment. As the number of split points grows, so too does the probability that 2 or more split points will share code, so this seems to be a case of rapidly diminishing returns as the number of split points grows.
Any suggestions on how to deal with this?