Here's the promised "one line change".  Adding this to my "G" class causes 
the build time
to increase from the expected 23 minutes (for a dev build) to at least 45 
minutes; I can't tell
exactly because my build was killed by the timer.

    static public Hashtable<String, Class<?>> namedClasses = 
            NamedClasses.classes;
            // this hides the class list, which is restored in 
com.boardspace.Launch
            //new Hashtable<String,Class<?>>();

NamedClasses.classes is a list of all 70 top level game classes in my app, 
which is needed
for MakeInstance.  But note that the identities of these classes is not 
visible to those who
#include G, which is essentially everyone.

The effect of this change on the IOS build is in effect to force every 
class in the app to include
every header in the entire app, even those those class headers are not 
visible to clients of G.
I can supply the actual .h files once I get a build that succeeds.


On Tuesday, March 28, 2017 at 10:48:43 AM UTC-7, Steve Hannah wrote:
>
>
>> for my excessive build times have been discussed at length on other 
>> threads.
>>
>
> I recall must talk of your long build times in other threads, and your 
> description in general terms of changes that would speed your build times 
> up, but I haven't seen any concrete examples or test cases.  If you can 
> provide a concrete test case and point out the things that you believe 
> should be "stripped" by the transpiler, I can investigate further.  I 
> haven't seen anything actionable to date.
>
> Steve
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/6e1a1f46-dfee-4f29-b6a8-0385b15bf995%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to