Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Validation speed: only validate what is new ?(Cache what is not changed)
Validation speed: only validate what is new ? [message #1076151] Tue, 30 July 2013 20:17
J A is currently offline J AFriend
Messages: 31
Registered: July 2013
Member
Dear all,

I often have to validate the relationship between elements of the AST. If the tree is big (thousands of elements at level 2 from the root), then having to validate everything anytime the user edits could be a performance issue.

Of course there are CheckType.NORMAL and CheckType.EXPENSIVE to levitate the issue, but I hope there could be an event listener, which helps to distinguish the changed elements from the unchanged one, then the task of validating the elements and updating the Eclipse's editing state would be reduced by 99% I guess.

Do you suggest some nice way to do it ?

Many thanks.

[Updated on: Wed, 31 July 2013 06:40]

Report message to a moderator

Previous Topic:Fill function arguments with the proposal provider
Next Topic:Xtext 2.4.2: What is CancelationIndicator ?
Goto Forum:
  


Current Time: Fri Apr 19 02:26:20 GMT 2024

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

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

Back to the top