|Re: Long ATL file taking much time to save in Eclipse [message #1792020 is a reply to message #1791932]
||Tue, 10 July 2018 07:44
| Frederic Jouault
Registered: June 2013
There is indeed a performance issue with parsing large action blocks (aka. 'do' blocks) containing many nested if statements.
Most of the time parsing your ATL file is spent parsing rule connectNodes, which contains such an action block.
Here is a first workaround to try:
- put rule connectNodes in a separate ATL file (e.g., connectNodes.atl)
- keep all other rules in the first ATL file,
- superimpose both files for execution.
connectNodes.atl will still require a long parsing time, but you should be able to work on your other rules normally.
A second workaround (that may be combined with the first one) is to divide rule connectNodes into several subrules, avoiding having a single rule with too many nested if statements.
[Updated on: Thu, 12 July 2018 17:49]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02083 seconds