Would it cause performance problems if I put most of the code in a module instead spreading it in multiple modules? I find it easier to manage dependencies this way, just do require('MyGame') and be done with it instead of using multiple requires; It's hard to keep track of what modules I need.
Best Answer
C
Customer Support
said
almost 7 years ago
Edwin,
The only thing I can think of that would slow performance is that it would have to load the entire module every time you need it instead of smaller chunks. This will eventually affect performance, but it's hard to say just how much until we see it happen.
Otherwise, I don't think it will cause any problems for us.
Shane
1 Comment
Customer Support
said
almost 7 years ago
Answer
Edwin,
The only thing I can think of that would slow performance is that it would have to load the entire module every time you need it instead of smaller chunks. This will eventually affect performance, but it's hard to say just how much until we see it happen.
Otherwise, I don't think it will cause any problems for us.
Samuel Edwin
Would it cause performance problems if I put most of the code in a module instead spreading it in multiple modules? I find it easier to manage dependencies this way, just do require('MyGame') and be done with it instead of using multiple requires; It's hard to keep track of what modules I need.
Edwin,
The only thing I can think of that would slow performance is that it would have to load the entire module every time you need it instead of smaller chunks. This will eventually affect performance, but it's hard to say just how much until we see it happen.
Otherwise, I don't think it will cause any problems for us.
Shane
Customer Support
Edwin,
The only thing I can think of that would slow performance is that it would have to load the entire module every time you need it instead of smaller chunks. This will eventually affect performance, but it's hard to say just how much until we see it happen.
Otherwise, I don't think it will cause any problems for us.
Shane
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics