IMO, modularity is a well-proven software development construct. It was key to making some really big Flex apps efficient for both development time as well as initialization time. But like most things, it has to be done properly. Too many small modules will slow initialization time, one huge app without modules may not load in time. Modules allow for pay-as-you=go loading of code which is sometimes quite important.
The trade-offs are a bit different in Royale vs Flex so it won’t always be true that if your Flex app benefited from modules that your Royale app will as well. Or that the thresholds of module size are the same. With minification and gzip transfer over the network and probably some other factors, you can probably get away with fewer large modules in Royale. That said, performance problems should be analyzed with a profiler. Of course, I could be wrong… -Alex From: Harbs <harbs.li...@gmail.com> Reply-To: "users@royale.apache.org" <users@royale.apache.org> Date: Monday, December 27, 2021 at 4:40 AM To: "users@royale.apache.org" <users@royale.apache.org> Subject: Re: Load time is very slow On Dec 27, 2021, at 2:04 PM, Roman Isitua <romanisi...@gmail.com<mailto:romanisi...@gmail.com>> wrote: - compile times. With modules as I am adding new features to the app, compile times will not be affected too much. This is very useful for my small team. We are not using the latest workstation with bleeding edge processors. My laptop uses a 2017 core i7 processor. My other team members have slightly lower specs than mine. So compile time is something that we are mindful of. Compile times of debug builds should be very fast. What compile times are you seeing? If compile times are slow, we should work on fixing that... - modules make it easier to share development tasks. Why? We don’t have issues sharing tasks on the same application. I’d like to understand better why this is an issue for you. I want to believe there will be performance benefits as well. e.g. faster load times and memory e.t.c I don’t think there will be. I think the opposite might be true.