equal
deleted
inserted
replaced
19 is always extended by the process of reallocation. A flat array buffer is |
19 is always extended by the process of reallocation. A flat array buffer is |
20 implemented using a <codeph>CBufFlat</codeph> object. </p> |
20 implemented using a <codeph>CBufFlat</codeph> object. </p> |
21 <p>The following diagram illustrates how elements are organised within the |
21 <p>The following diagram illustrates how elements are organised within the |
22 array buffer:</p> |
22 array buffer:</p> |
23 <fig id="GUID-C36AFFF1-3BE7-5AF3-B852-B1AB3BBA257D"> |
23 <fig id="GUID-C36AFFF1-3BE7-5AF3-B852-B1AB3BBA257D"> |
24 <image href="GUID-2472E5E0-C33A-51B4-8210-89D7DEFA87C8_d0e219549_href.png" placement="inline"/> |
24 <image href="GUID-2472E5E0-C33A-51B4-8210-89D7DEFA87C8_d0e215812_href.png" placement="inline"/> |
25 </fig> |
25 </fig> |
26 <p>This kind of array is suitable for a small number of objects or for a moderately |
26 <p>This kind of array is suitable for a small number of objects or for a moderately |
27 large but fixed maximum number of objects. It is not suitable for large arrays |
27 large but fixed maximum number of objects. It is not suitable for large arrays |
28 with a high turnover of elements. </p> |
28 with a high turnover of elements. </p> |
29 <p>A packed array has the advantage over a variable flat array in having a |
29 <p>A packed array has the advantage over a variable flat array in having a |