Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Optimize code generation IO?
Optimize code generation IO? [message #1071567] Sat, 20 July 2013 13:36
Ian Warwick is currently offline Ian WarwickFriend
Messages: 44
Registered: April 2012
Member
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: Thu Mar 28 21:01:30 GMT 2024

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

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

Back to the top