You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generating files from a list which is not a simple string rather a List<Map<String, dynamic>> takes exponentially greater time. For example {{#updateMethods}}{{{usecaseName.snakeCase()}}}.dart{{/updateMethods}} takes over 30 minutes to generate 4 files on Windows 10 i7 processor with 16gb RAM, the process consumes only around 25% CPU and negligible disk and memory activity, however if you change the name extraction from triple { to double e.g. {{#updateMethods}}{{usecaseName.snakeCase()}}.dart{{/updateMethods}} then it generates in 5 seconds, however it only generates a single file by appending all names, with all the content meant for the 4 files.
Using latest mason CLI, Flutter 3.16.9
Generating files from a list which is not a simple string rather a
List<Map<String, dynamic>>
takes exponentially greater time. For example{{#updateMethods}}{{{usecaseName.snakeCase()}}}.dart{{/updateMethods}}
takes over 30 minutes to generate 4 files on Windows 10 i7 processor with 16gb RAM, the process consumes only around 25% CPU and negligible disk and memory activity, however if you change the name extraction from triple{
to double e.g.{{#updateMethods}}{{usecaseName.snakeCase()}}.dart{{/updateMethods}}
then it generates in 5 seconds, however it only generates a single file by appending all names, with all the content meant for the 4 files.Using latest mason CLI, Flutter 3.16.9
Sample input data:
The text was updated successfully, but these errors were encountered: