Documentation in conspage.h

This commit is contained in:
Simon Brooke 2017-09-14 15:51:11 +01:00
parent 46fff43fc7
commit e43c9a7b33
2 changed files with 9 additions and 0 deletions

2
.gitignore vendored
View file

@ -8,3 +8,5 @@ target/
nbproject/ nbproject/
*~ *~
src/\.#*

View file

@ -17,6 +17,13 @@
* later we will want a mechanism for this to be able to grow * later we will want a mechanism for this to be able to grow
* dynamically to the maximum we can currently allow, which is * dynamically to the maximum we can currently allow, which is
* 4294967296. * 4294967296.
*
* Note that this means the total number of addressable cons cells is
* 1.8e19, each of 20 bytes; or 3e20 bytes in total; and there are
* up to a maximum of 4e9 of heap space objects, each of potentially
* 4e9 bytes. So we're talking about a potential total of 8e100 bytes
* of addressable memory, which is only slightly more than the
* number of atoms in the universe.
*/ */
#define NCONSPAGES 8 #define NCONSPAGES 8