CompuServe Messages

Bruce Dawson Review

    06-Jan-89 02:51:16
Fm: Scott Ballantyne 70066,603
To: Richard Rae/SYSOP 76703,4253
With branches or word offsets from a table base don't have to be relocated on a load, but a table of 32bit absolute addresses has to be relocated by the loader, so the overhead is something like hunkmarker + 4bytes for zero end marker + hunkend + 8 bytes for hunk number and count which gives 24 bytes for the first reference, and then you have another 4 bytes for each additional reference, so a 100 address table would occupy 800+20 bytes on disk, which compares with 200 bytes for a word offset table, which is a pretty big savings in disk space, although once in memory the difference is much less, as you pointed out. sdb