|
|
|
|
|
Re: Long ATL file taking much time to save in Eclipse [message #1792020 is a reply to message #1791932] |
Tue, 10 July 2018 03:44  |
Eclipse User |
|
|
|
Hello,
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.
Best regards,
Frédéric
[Updated on: Thu, 12 July 2018 13:49] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.07602 seconds