Updated vector space (markdown)
parent
26248a437d
commit
7e27f74bbd
|
@ -17,6 +17,8 @@ So the header looks like this
|
||||||
+-----+--------------+------+------+--------------+
|
+-----+--------------+------+------+--------------+
|
||||||
| tag | vecp-pointer | size | mark | payload... /
|
| tag | vecp-pointer | size | mark | payload... /
|
||||||
+-----+--------------+------+------+------------+
|
+-----+--------------+------+------+------------+
|
||||||
|
|
||||||
|
**TODO:** I'm not satisfied with this header design. I think it should be a multiple of 64 bits, so that it is word aligned, for efficiency of fetch. Possibly it would be better to make the *size* field 31 bits with *mark* size one bit, and instead of having the value of *size* being the size of the object in bytes, it should be the size in 64 bit words, even though that makes the maximum allocatable object only 17 gigabytes. It should also be ordered *tag, size, mark, vecp-pointer*, in order to word align the *vecp-pointer* field.
|
||||||
|
|
||||||
### Tag
|
### Tag
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue