|Validator context based [message #1849275]
||Tue, 11 January 2022 07:01
| Alexandra Tritean
Registered: March 2020
Hello and a Happy New Year, |
I have a curiosity regarding a way in which the validator of a grammar can be improved from a performance point of view.
I was wondering if it's possible to apply only those checks that are relevant for the context in which the editing is done.
For example, if I have two types of entities, to determine in which type of entity the change was made and apply only those relevant checks instead of having all of the checks of the grammar running. I'm not sure if this makes sense or even if it's worth it to do something like this.
A little bit of context, one of the files ended up with 55k lines and we have around 60 checks, so every little change has quite an impact.
I've already set the type of some of the checks to expensive, but I was looking into other ways in which the performance can be improved on this side.
[Updated on: Tue, 11 January 2022 07:01]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02365 seconds