Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Optimize code generation IO?
Optimize code generation IO? [message #1071567] Sat, 20 July 2013 09:36
Eclipse UserFriend
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! Smile

Previous Topic:Generate equivalent Java statement from XBlockExpression using IGenerator
Next Topic:Xtext grammar for Java?
Goto Forum:
  


Current Time: Fri Jul 04 21:47:44 EDT 2025

Powered by FUDForum. Page generated in 0.09082 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top