Optimize code generation IO? [message #1071567] |
Sat, 20 July 2013 09:36 |
Eclipse User |
|
|
|
In my xtext based languages I use the xtext code generator API to generate java source code, I was wondering if any optimizations are made such as when building if files are already generated and regenerating would equate to the same output are the rewritten?
I just want to make sure I am not unnecessarily generating source when it is not necessary.
I also have a standalone version of my DSL/generator and in that I use the JavaFileSystemAccess implementation which does not appear to do optimizations such as file compare before generating like the eclipse implementation does (sorry I forget the name of that class but it implements IFileSystemAccess.
Is there an optimization benefit to comparing what would be generated to what is generated before generating?
Thanks for xtext! 
|
|
|
Powered by
FUDForum. Page generated in 0.09082 seconds