正在加载图片...
Arrays Elements of arrays can be accessed quickly if the elements are stored in a block of consecutive locations. A one-dimensional array A: basea low width base is the address of the first location of the array A, width is the width of each array element. low is the index of the first array element location of A[i]>base+(i-low)*width CS308 Compiler Theory 11Arrays • Elements of arrays can be accessed quickly if the elements are stored in a block of consecutive locations consecutive locations. A one-dimensional array A: … … baseA low i width baseA is the address of the first location of the array A, width is the width of each array element. low is the index of the first array element CS308 Compiler Theory 11 location of A[i] Î baseA+(i-low)*width
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有