Article # 61, added by Geoworks, historical record
| first |
previous |
index |
next |
last |
Chunks in a global block
Q. How many chunks can reside within a global block? A. 10920. The answer comes from the following calculations: (65536 - (16 for LMemBlockHeader)) / (6 per chunk) = 10920 There are 6 bytes minimum per chunk, since the ChunkHandle takes up a word, there's a word needed to store the size of the chunk (which is stored before the chunk data itself), and one word for the data. Even if you only use one byte of data, the next chunk would be allocated on a word boundary.