fix Issue 12509 - Compiler performance highly depends on declared array size - for struct with long static array of structs
Merge pull request #3425 from 9rnsr/fix12509

[REG2.064] Issue 12509 - Compiler performance highly depends on declared array size - for struct with long static array of structs