Data storage in compilers
暂无分享,去创建一个
Arrays in ALGOL 60 are dynamic in the sense that an array with the same name may be declared several times but with different dimensions. In a compiler this is usually of no interest because the arrays are declared only once but the programme does not in advance know how big they should be. A storage system which dynamically changes the size of arrays is described. The extra time required to perform these changes of array size so the available store is used in an optimal way is very small, and the gains in efficiency of the programme can be considerable.