Adacontrol is very slow at processing the attached file of 8 instructions declaring big arrays of numbers: 20 min on a i7-8700K @ 3.70GHz
The file compiles in less than 0.5s.
Maybe an optimisation is possible?
Anonymous
With the source file.
Unfortunately, this is a known problem due to the way ASIS represents aggregates (as linked lists). When going from elements to the enclosing construct, ASIS has to go through the whole list. Therefore, when all elements are analyzed, the algorithm goes N**2. Since it is due to the internals of ASIS, there is nothing AdaControl can do about it.
Fair enough. At least the problem and analysis are traced.