Validation speed: only validate what is new ? [message #1076151] |
Tue, 30 July 2013 20:17 |
J A 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
|
|
|
Powered by
FUDForum. Page generated in 0.01371 seconds