Skip to main content
Jump to: navigation, search

Difference between revisions of "VIATRA/Releases/NewAndNoteworthy1.5"

(Created page with "== Support for more number literals in query language == All number literals supported by Xtend (see [https://eclipse.org/xtend/documentation/203_xtend_expressions.html#numbe...")
 
Line 9: Line 9:
 
}
 
}
 
</source>
 
</source>
 +
 +
== Performance improvements in the incremental query evaluator (Rete engine) ==
 +
 +
Constant values (more precisely constant-value filtering) within patterns are now handled more efficiently in many cases. In a proprietary code base, specifically for entire query packages where this feature is heavily used, we have observed a reduction between 15-30% in the memory footprint of Rete.

Revision as of 11:49, 21 October 2016

Support for more number literals in query language

All number literals supported by Xtend (see documentation for details) are now directly supported by the VIATRA Query language.

pattern circleConstantDiameter1(c : Circle) {
  Circle.diameter(c, 3l);
  Circle.area(c, 9.42f);
}

Performance improvements in the incremental query evaluator (Rete engine)

Constant values (more precisely constant-value filtering) within patterns are now handled more efficiently in many cases. In a proprietary code base, specifically for entire query packages where this feature is heavily used, we have observed a reduction between 15-30% in the memory footprint of Rete.

Back to the top