~ chicken-core (chicken-5) 05cbd44f755c0b3fe14571de6ee93992bb851ac3
commit 05cbd44f755c0b3fe14571de6ee93992bb851ac3 Author: Peter Bex <peter.bex@xs4all.nl> AuthorDate: Tue May 6 00:47:36 2014 +0200 Commit: Peter Bex <peter.bex@xs4all.nl> CommitDate: Tue May 6 00:47:36 2014 +0200 Update 'data representation' manual section to match the current wiki version diff --git a/manual/Data representation b/manual/Data representation index 610546aa..52910e0f 100644 --- a/manual/Data representation +++ b/manual/Data representation @@ -43,9 +43,12 @@ The first word of the data block contains a header, which gives information about the type of the object. The header is a single machine word. -The 24 lowest-order bits contain the length of the data object, which -is either the number of bytes in a string or byte-vector, or the -number of elements for a vector or record type. +The 24 (56 on 64-bit systems) lowest-order bits contain the length of +the data object, which is either the number of bytes in a string or +byte-vector, or the number of elements for a vector or record type. This +allows a maximum size for data objects of 2^24 bytes, or approximately +16 MB, on 32-bit systems, and 2^56 bytes, or approximately 72 PB, on +64-bit systems. The remaining bits are placed in the high-order end of the header. The four highest-order bits are used for garbageTrap